Computer Science, asked by shivannaindena1973, 2 months ago

write the C program to upset and find their sum, difference and product? ​

Answers

Answered by itzvarshini
2

Answer:

//C Arithmetic Program — Sum, Product, Difference, Quotient, Remainder #include<stdio.h> int main() { int a,b,sum,product,diff,quotient,remainder; printf("Enter 1st number : "); scanf("%d",&a); printf("Enter 2nd number : "); scanf("%d",&b); sum=a+b; product=a*b; diff=a-b; quotient=a/b; remainder=a%b; printf("Sum is : %d",sum); printf("\nProduct is : %d",product); printf("\nDifference is : %d",diff); printf("\nQuotient is : …

Explanation:

Similar questions