This program calculates each entry and finds the average tempature. The input will come from the keyboard do to cin. The output will be sent to the screen from the cout statements. The first prompt will ask the user to enter a tempature. Integers between zero and one hundred (0-100) must be used. Any integer that is beyond what is asked, output will display a message stating it is out of range. A for.. while loop is used to get the data. If statements are used to count warm days and cold days with increment operator. All entries are added up and an average is found, which will display on screen along with a statement.
Learned:
- C++ language
- Use C++ with C
- Use of the I/O library from using #include
- For-while loops