Question: C++ programming Temperature Structure In Class Lab 1) Create a Temperature structure: Date date Time time double temperature int flag // 0 = centigrade, 1

C++ programming

Temperature Structure In Class Lab

1) Create a Temperature structure:

Date date
Time time
double temperature
int

flag // 0 = centigrade, 1 = fahrenheit

2) Create an array of 10 Tempertures. randomly setting the flag for C/F

3) Create a function that takes the Temperature array as input, and converts it based on user choice to all C or all F, returning a new array

the temperature was supposed to have a Date structure and a Time structure

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!