How would I design a loop that asks the user to enter a number? The loop should iterate 10 times and keep a running total of the numbers entered.
![]() |
How would I design a loop that asks the user to enter a number? The loop should iterate 10 times and keep a running total of the numbers entered.
First, as you have been told before, looping structures are specific to the programming language. Second, please stop asking us to do your homework for you. A loop like you ask for is basic programming 101.
All times are GMT -7. The time now is 02:00 PM. |