Question: c++, using while loop Q2. (25 points). Write a C++ program that takes two integers as input and calculates their sum. The program then outputs

c++, using while loop
c++, using while loop Q2. (25 points). Write a C++ program that

Q2. (25 points). Write a C++ program that takes two integers as input and calculates their sum. The program then outputs which the smaller number is and whather the sum is odd or even. Sample Input: 24 Sample Output: 2 is less than or equal to 4 and the sum is even Paste your C++ code for this problem here: ( 20 points) Show test results of program running on two cases and corresponding screenshots here: (5 points)

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!