From the course: Code Clinic: C

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution overview

Solution overview - C Tutorial

From the course: Code Clinic: C

Start my 1-month free trial

Solution overview

- [Instructor] I try to keep my C pure and ensure that the code runs in text mode, C's native environment. For the summarize the weather puzzle, and I hope you appreciate that pun, my solution program is named problem one. Type the start date and end date in the format requested. This date range represents about a month's worth of data, and the program reports 6756 records examined during the time span. The coefficient of the slope is expressed in scientific notation, and the chart shows a sampling of the data read, then the actual dates are shown at the bottom left and right which are as close to what was input as possible given the unusual nature of the data. This is how things work in C and as such, I'm pleased with the results. My code will run on any computer where C can be compiled, regardless of the output device.

Contents