Lösung

Aus ProgrammingWiki
Archivierte Version vom 2019-11-17T14:22:53+00:00. Aktuelle Version

Eine mögliche Lösung für das Problem:

Read in integers that represent daily rainfall, and print out the average daily rainfall. If the input value of rainfall is less than zero, prompt the user for a new rainfall. When you read in 99999, print out the average of the positive integers that were input other than 99999.