Write An Application That Asks The User To Enter Two Numbers, Obtains The Two Numbers From The User And Prints The Sum, Product, Difference And Quotient Of The Two Numbers?

1

1 Answers

Linda Jane Profile
Linda Jane answered
This is in BASIC

printf("nnt Enter first number");
   scant("%d",&a);
printf("nnt Enter second number");
   scant("%d",&b);

printf("nnt Sum: %d", a+b);
  printf("nnt Product: %d", a*b);
printf("nnt Difference: %d", a-b);
printf("nnt Quotient: %d", a/b);

Answer Question

Anonymous