Question: Write a hello world weather station application in C++ - stores the name of the weather station in a string variable (at compile time) -
Write a hello world weather station application in C++
- stores the name of the weather station in a string variable (at compile time)
- stores a current temperature (at compile time)
- stores an integer current wind speed and a string wind direction (at compile time)
- prints the name of the weather station and current temperature to the console as:
The
put in an end line
prints the current temperature in degrees Fahrenheit
put an end line
prints the current wind speed and direction (space between speed and direction)
put in an end line
(Get application to function correctly!) Thank You!!!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
