File input/output is our access to permanent stores of data that last beyond the run time of our application.
What to Do
Write a program that opens and reads the file 93cars.dat.txt and produces the following data:
- average gas mileage in city (City MPG)
- average gas mileage on highway (Highway MPG)
- average midrange price of the vehicles in the set.
You can find the data set at the following link from the Journal of Statistics Education.
What to Submit
As usual, create a blog post explaining what you did, where you found resources (books, videos, web pages, friends) to help you solve this. Remember to put the tag #WSQ16 on your post so our blog hub picks that up.
You should include your code as a link to GitHub.
And of course, leave any questions here as well as asking those questions on Twitter with the hashtag #TC1017 so we all see your question posted there.
WSQ16 – Cars by Ken Bauer is licensed under a Creative Commons Attribution 4.0 International License.