Question: Write a program that reads in two int (integer) values using cin, call them x and y. Print out the quotient of x and y

 Write a program that reads in two int (integer) values using

Write a program that reads in two int (integer) values using cin, call them x and y. Print out the quotient of x and y W) using integer division. Then print out the quotient using floating point division. To do that, you can cast either x or y to a float, then perform the division. See the sample runs: Sample run 1: Enter two values: 3 4 8.75 Sample run 2 Enter two values: 1 8 1.25 YOUR ANSWER We recommend you take a quick tour of our editor before you proceed. The timer will pause up to 90 seconds for the tour. Start tour For help on how to read input and write output in C++, click here Original CodeC 1 +#include

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!