Question: Write a C++ program that inputs two integer a and b from keyboard and prints weather a and b is even or odd and

Write a C++ program that inputs two integer a and b from 

Write a C++ program that inputs two integer a and b from keyboard and prints weather a and b is even or odd and also print out the sum, average, and product of these numbers. #include esing namespace std nt main() E at a, b, sum; Example of the output: Input a 6 Input b 3 a is even number b is odd number Sum=9 Average = 4 Product = 18

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 Programming Questions!