In this section, we will discuss some basic concepts of C++.
C++ has a number of builtin integer types.
int main() {
}
Pretend we are insurance auditors. We are investigating a kitchen fire which burned down a popular Chicago restaurant: O'leary Smoke House. Fortunately the entire city didn't burn down this time.
The restaurant had a smart thermometer which was tracking the temperature and carbon monoxide (CO) level of the kitchen. We want to analyze the dataset to determine the following:
- When did the fire start and end? We assume the fire is started when the temperature is at least 80 Farenheit OR the CO level is 200ppm.
- What was the average temperature during the fire?
- What was the average CO level during the fire?
The dataset contains atmospheric readings for every minute of the 24-hour day. There are 1,440 minutes in a day. Each reading contains two entries: (Temperature, Carbon Monoxide).