#include<stdio.h> int main(void) { int x,y; printf("请输入x的值:"); scanf("%d",&x); y=x*x; printf("%d=%d*%d ",y,x,x); printf("%d*%d=%d ",x,x,y); return0; }
#include<stdio.h> int main(void) { int x,y; printf("请输入x的值:"); scanf("%d",&x); y=x*x; printf("%d=%d*%d ",y,x,x); printf("%d*%d=%d ",x,x,y); return0; }
#include<stdio.h>
int main(void)
{
int x,y;
printf("请输入x的值:");
scanf("%d",&x);
y=x*x;
printf("%d=%d*%d
",y,x,x);
printf("%d*%d=%d
",x,x,y);
return0;
}
#include<stdio.h> int main(void) { int x,y; printf("请输入x的值:"); scanf("%d",&x); y=x*x; printf("%d=%d*%d ",y,x,x); printf("%d*%d=%d ",x,x,y); return0; }