c语言编程练习题:7-108 将x的平方赋值给y
作者:yunjinqi    类别:编程    日期:2023-05-31 11:35:54    阅读:599 次    消耗积分:0 分    

image.png

#include <stdio.h>
#include <math.h>
int main(){
    int x=3,y=x*x;
    printf("%d = %d * %d\n",y,x,x);
    printf("%d * %d = %d\n",x,x,y);
    return 0;
}


版权所有,转载本站文章请注明出处:云子量化, https://www.yunjinqi.top/article/233
上一篇:c语言编程练习题:7-107 找出最小值
下一篇:c语言编程练习题:7-109 计算工资

系统当前共有 404 篇文章