Question: NEED ASAP In c++ please Repeatedly ask the user to enter an integer number (positives and negatives are ok). If a negative number is entered,

NEED ASAP

In c++ please

Repeatedly ask the user to enter an integer number (positives and negatives are ok). If a negative number is entered, convert it to its absolute value by multiplying it by -1. Keep a running count of how many numbers have been entered. Stop asking for numbers when the total of all entered numbers exceeds 100. Also, display how many numbers were entered.

Sample interaction:

Enter a number: 50

Enter a number: 10

Enter a number: 19

Enter a number: -20

Enter a number: 13

5 numbers entered, total of 112

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!