Zlyphor

none

General Chat

Basic While Loop Coding Question Just learning some basic While Loop coding and have some practice questions to answer but I'm confused on this one. [i]Write a program that uses a while loop. In each iteration of the loop, prompt the user to enter a number - positive or zero. Keep a running total of the numbers the user enters and also keep a count of the number of entries the user makes. The program should stop whenever the user enters "-1" to quit. When the user has finished, print the grand total and the number of entries the user typed.[/i] Any help would be appreciated. Thanks.

Show me more!