将x的平方赋值给y时间:2022-10-02 21:56:01 假设x的值为3,计算x的平方并赋值给y,分别以“y = x ∗ x”和“x ∗ x = y”的形式输出x和y的值 #include<stdio.h>int main(){ int x = 3; int y = x * x; printf("%d = %d * %d\n%d * %d = %d",y,x,x,x,x,y); return 0;}