Question: 3. Write a C++ program that performs the following steps:(40 Marks) a. Declare a named constant called SENTINEL 9999. b. Outputs the minimum value. c.
3. Write a C++ program that performs the following steps:(40 Marks) a. Declare a named constant called SENTINEL 9999. b. Outputs the minimum value. c. Outputs the Maximum value. d. Sum of all even numbers, total number of even and product of even numbers. e. Sum of all odd numbers, total number of odd and product of odd numbers Read all the values from an external text file called "Q4In txt" and output your results to an external text file called yourLastName.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
