Skip to content

SteveConyers/AverageTemp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

AverageTemp

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:

  1. C++ language
  2. Use C++ with C
  3. Use of the I/O library from using #include
  4. For-while loops

About

Finds Average temp from inputs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages