Write a c++ program that:a. Randomly generates the daily temperature (in F) of t
Write a c++ program that:a. Randomly generates the daily temperature (in F) of two cities A and B the month of July. The temperatures are integers in the range [60.. 90] and they are stored in two arrays tA and tB.b. Calculate the average temperature for the month in each city.c. How many days was the temperature above the average in each city.d. How many days and on which days in the month was the tewmperature in city A lower than the temperature in city B?e. How many days and on which days in the month was the tewmperature the same in both cities?f. On which day(s) the difference |tA[i] tB[i]| was maximum?Important notes: The program should consist of a main function and at least six other functions that solve the above subproblems. All function should be called by main function. All results should be printed only by the main function. No global variables and global arrays should be declared in the program.
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|