Get an overview of the solution: the code prompts for a start and end date;records are read and reported; the coefficient of the slope is displayed in scientific notation; and a chart is drawn of the barometric pressure readings spanning the input dates.
- [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.…
Skill Level Intermediate
1. Summarize the Weather
2. Geolocation with C
3. Eight Queens with C
4. Build a Musical Instrument with C
5. Face Recognition with C
6. Web Dashboards with C
Next steps1m 2s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.