--Originally published at Programming
Instructions: 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.
Data from: Journal of Statistics Education.
Code:
Data:
How it runs:
Mastery topics: Reading and writing of text files