write program to add a multiply three numbers
Answers
Answer:
is it from MySQL HTML5 or XML
we going to make a program with programing C . At first the program asked the user for the three number. After getting the number the program will show the addition of those three number.*/
#include <stdio.h>
int main()
{
int x,y,z,result;
printf(“Enter the 1st number: “);
scanf(“%d”,&x);
printf(“Enter the 2nd number: “);
scanf(“%d”,&y);
printf(“Enter the 3th number: “);
scanf(“%d”,&z);
result = x + y + z;
printf(“result=%d”,result);
retrun 0;
getch();
}
multiply three number:
/* we going to make a program with programing C . At first the program asked the user for the three number. After getting the number the program will show the multiply of those three number(1st number * 2nd number * 3th number = result).*/
#include <stdio.h>
int main()
{
int x,y,z,result;
printf(“Enter the 1st number: “);
scanf(“%d”,&x);
printf(“Enter the 2nd number: “);
scanf(“%d”,&y);
printf(“Enter the 3th number: “);
scanf(“%d”,&z);
result = x * y * z;
printf(“result=%d”,result);
retrun 0;
getch();
}
HOPE IT WILL HELP YOU
PLEASE MARK IT AS A BRAINLIEST ANSWER