MIPI_BaseC_WebinarFRTK/16_Seminar03/03_mult_p_6.c
2024-11-13 09:22:28 +03:00

13 lines
213 B
C

#include <stdio.h>
int main()
{
int a, b, c, sum, mult;
scanf("%d%d%d", &a, &b, &c);
sum = a+b+c;
mult = a*b*c;
printf ("%d+%d+%d=%d\n", a, b, c, sum);
printf ("%d*%d*%d=%d\n", a, b, c, mult);
return 0;
}