help for declaring a struct named reading.windspeed: an int;humidity: a double;t
ID: 3570197 • Letter: H
Question
help for declaring a struct named reading.windspeed: an int;humidity: a double;temperature: a TempScale structure variable. Next define a reading structurct variable.
help for declaring a struct named reading.windspeed: an int;humidity: a double;temperature: a TempScale structure variable. Next define a reading structurct variable.
help for declaring a struct named reading.windspeed: an int;humidity: a double;temperature: a TempScale structure variable. Next define a reading structurct variable.
Explanation / Answer
struct Tempscale
{
double centigrade;
};
struct reading
{
int windspeed;
double humidity;
Tempscale temperature;
};
struct reading r1; //declaring variable
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.