Question: Write a C++ program that does the following it declares two integer variables x, y, Prompts the user to enter two integer values and reads
Write a C++ program that does the following it declares two integer variables x, y, Prompts the user to enter two integer values and reads them into x and y and then prints the following the sum of Xandy y subtracted from the product of x and y the average of x and y the remainder when x is divided by y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
