60 478
Assignments Done
98,1%
Successfully Done
In April 2018

Answer to Question #23397 in Visual Basic for Andrew

Question #23397
your program should should prompt the user to input 2 numbers by giving the user the Sum, Difference, Product, Quotient of two numbers. will be an interactive program.
Expert's answer

#include<stdio.h>
void main()
{
int a,b,c;
printf("enter value of a and b:");
scanf("%d %d",&a,&b");
c=a+b;
printf("sum is %d",c);
c=a*b;
printf("
product is %d"c);
c=a-b;
printf("difference is%d",c);
c=a/b;
printf('quotient is%d",c);
getch();
}


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions