Question: Using c++ Write a program that accepts 2 integer values from the user, with the prompts shown. For testing purposes, you have to output a
Write a program that accepts 2 integer values from the user, with the prompts shown. For testing purposes, you have to output a newline after every user input (see examples below) n output the sum, the product, the integef quotient, and the modulus in exactly the same format as the examples below. User input has been bolded and underlined for emphasis. Example 2: Enter the first integer: 15 Enter the first integer: 10 Enter the second integer: 25 Enter the second integer: 5 12535 1 25 258 10 / 25 e 10 % 25-10 15 + 5 = 20 15 5 75 15/5=3 15 % 5 = e Example 3: Enter the first integer: 12 Enter the second integer: 10 12 10 22 12 * 1e = 120 121 1 12 % le-2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
