编辑代码

#include <stdio.h>
void main () 
{   
    int x,y;
    scanf("%d",&x);
    y=x*x;
	printf("%d=%d*%d\n",y,x,x);
    printf("%d*%d=%d",x,x,y);
}