Question: Rewrite the following C program in C++: ************** ************** *****************************************| // This program produce the quotient of two input numbers to nearest hundredth #include
Rewrite the following C program in C++: ************** ************** *****************************************| // This program produce the quotient of two input numbers to nearest hundredth #include int main() { } int Input_1, Input_2; double Quotient; printf("Enter two numbers separated by space: "); scanf("%d %d", &Input_1, &Input_2); Quotient (double) Input_1/Input_2; printf("The quotient of %d divided by %d is %.2lf: ", Input_1, Input_2, Quotient); return 0; ******************************************************************************************|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
