Question: struct TempScale { double fahrenheit; double centigrade; }; struct Reading { int windSpeed; double humidity; TempScale temperature; }; Write a function called showReading. It should
struct TempScale { double fahrenheit; double centigrade; };
struct Reading { int windSpeed; double humidity; TempScale temperature; };
Write a function called showReading. It should accept a Reading structure variable (see statement above) as its argument. The function should display the contents of the variable on the screen, written in C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
