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)

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

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!