Question: Write a C + + program that asks the user to enter a series of integers ( positive or negative ) in a loop. The

Write a C++ program that asks the user to enter a series of integers (positive or
negative) in a loop. The loop terminates when 0 is entered.
When finished, display how many negative integers and positive integers were
entered, and then followed with the average of these negative and positive
integers.

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!