Question: struct TempScale { double fahrenheit; double centigrade; }; struct Reading { int windSpeed; double humidity; TempScale temperature; }; Write a function called getReading, which returns
struct TempScale { double fahrenheit; double centigrade; };
struct Reading { int windSpeed; double humidity; TempScale temperature; };
Write a function called getReading, which returns a Reading structure (see statement above). The function should ask the user to enter values for each member of a Reading structure, then return the structure.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
