You are required to write an interactive C++ program that prompts the user for two integers X
Fantastic news! We've Found the answer you've been seeking!
Question:
You are required to write an interactive C++ program that prompts the user for two integers X and Y and performs the following tasks:
- Adds two numbers.
- Subtracts Y from X.
- Multiplies X and Y.
- Divides X by Y.
- Finds which numbers is larger (X or Y)
- Prints all the results (a, b, c, d, and e)
Program requirements:
- The program should run as many times as the users wish (hint: use a while loop).
- Test your program for different values using different set of data that the users provide.
Related Book For
Posted Date: