#include <stdio.h>
int main(){
int a, b,c;
puts("请输入三个整数。");
printf("整数1:");
scanf("%d", &a);
printf("整数2:");
scanf("%d", &b);
printf("整数3:");
scanf("%d", &c);
printf("他们的乘积是%d。\n", a+b+c);
return 0;}
#include <stdio.h>
int main(){
int a, b,c;
puts("请输入三个整数。");
printf("整数1:");
scanf("%d", &a);
printf("整数2:");
scanf("%d", &b);
printf("整数3:");
scanf("%d", &c);
printf("他们的乘积是%d。\n", a+b+c);
return 0;}