Question: Write a C++ program that prompts the user to enter the city name and its morning and night temperatures for two cities. The program then
Write a C++ program that prompts the user to enter the city name and its morning and night temperatures for two cities. The program then outputs each city name and its average temperature in a separate line. Use a tab escape sequence to separate the city name from its average. Enter nang norning tenperature and night tenperature of the first city: Sharjah 37 34 Enter nane, norning tenperature and night tenperature of the second city: The city nanes and average temperatures are: Sharjah 35.5 Dubai 37.5 Process returned @ (@x execution tine : 17.329 s Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
