Question: i need help writing this program using C++ Write a program that uses structures as follows: It declares a structure named TempScale, with the following

i need help writing this program using C++

Write a program that uses structures as follows: It declares a structure named TempScale, with the following members: double fahrenheit double centigrade Next, it declares a nested structure named Reading, with the following members: int windSpeed double humidity TempScale temperature The program also declares prototypes and comprises the following functions: main: It makes the needed declarations and defines a variable of type Reading, calls findReading to read the data and showReading to display the data. Structures should be passed through parameter/argument. findReading: It uses a Reading structure reference variable as its parameter. The function should ask the user to enter values for each member of the structure. The values are read and assigned to the members of the structure. showReading: It uses a Reading structure variable as its parameter. The function displays the contents of the variable on the screen.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!