李长萍
2020-02-17 10:36
#include <stdio.h>
int main()
{
int a,b,c,d;
double result;
a = 1;
b = 2;
c = 3;
d = 4;
result = a+b+c+d;
printf("%.0f\n",(int)result);
return 0;
}
#include <stdio.h> int main() { int a,b,c,d; double result; a = 1; b = 2; c = 3; d = 4; result = a+b+c+d; printf("%.0f\n",result); return 0; }
C语言入门
926206 学习 · 20797 问题
相似问题