For loop and abs function

Solution
D
This should cover it.

C++:
Program Start:
  Loop 10 times
    Get number from keyboard
    Convert to positive number
    Add to running total
  End Loop
  Display total
Program End

Homework?

Forum rules prohibit doing homework.

Recommend that you post your code to date and explain what problem or problems are occurring.

And what you did or tried to solve those problems.


 


So what have you done so far?
Post your current code, and we can (maybe) tell you which line is incorrect.

But we're not going to do it for you.
 
This should cover it.

C++:
Program Start:
  Loop 10 times
    Get number from keyboard
    Convert to positive number
    Add to running total
  End Loop
  Display total
Program End

 
Solution