* Take 3 values from user. Print the sumation and multiplication of those values.
code:
code:
#include <stdio.h>
int main() {
int a,b,c;
printf("Press 1st Number:\n");
scanf("%d",&a);
printf("Press 2nd Number:\n");
scanf("%d",&b);
printf("Press 3rd Number:\n");
scanf("%d",&c);
printf("Your Sum is: %d\n",(a+b+c));
printf("Your Multiple is: %d\n",(a*b*c));
return 0;
}
Post a Comment