c语言编程求三个整数的和
#include <stdio.h>
int main() { int num1, num2, num3, sum;
printf("Enter three integers: ");
scanf("%d %d %d", &num1, &num2, &num3);
sum = num1 + num2 + num3;
printf("Sum of the three numbers: %d\n", sum);
return 0;
}
原文地址: https://www.cveoy.top/t/topic/jce7 著作权归作者所有。请勿转载和采集!