Unformatted text preview: Combining While Loops and If Statements Write a program that reads a series of numbers (doubles) from the user, then prints the mean and the range. Notes: • • • • Sample sessions: You do not know ahead of time how many numbers will be in the list. When you want to stop entering numbers, enter control‐Z. The range is the difference between the lowest and the highest number. The numbers will be in the range of 0.0 to 100.0. Ignore any numbers outside of this range. ...
View Full Document
- Summer '07
- highest number., range. Notes, Sample sessions