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 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
Get step-by-step solutions from verified subject matter experts
