![Ashleyvasquez2261](/avatars/14412.jpg)
Ashleyvasquez2261
20.07.2019 •
Computers and Technology
You will find a text file named 1994_weekly_gas_averages.txt. the file contains the average gas price for each week in the year 1994. (there are 52 lines in the file. line 1 contains the average price for week 1; line 2 contains the average price for week 2, and so forth.) write a program that reads the gas prices from the file, and calculates the average gas price for each month. (to get the average price for a given month, calculate the average of the average weekly prices for that month.) then, the program should create another file that lists the names of the months, along with each month’s average gas price, sorted from lowest to highest.
Solved
Show answers
More tips
- F Food and Cooking How to Make Chebureki: A Delicious Recipe for Russian Street Food...
- A Animals and plants Unraveling the Mystery of Loch Ness: What Does the Loch Ness Monster Look Like?...
- L Leisure and Entertainment Should You Buy a Ceramic Knife?...
- C Computers and Internet How to easily and quickly disable Firebug in Gmail and Google Docs...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
- C Computers and Internet Which Phone is Best for Internet Surfing?...
- F Food and Cooking Everything You Need to Know About Pasta...
- C Computers and Internet How to Choose a Monitor?...
- H Horoscopes, Magic, Divination Where Did Tarot Cards Come From?...
Answers on questions: Computers and Technology
- M Mathematics I need help with this question answer ASAP...
- B Biology How is selective breeding carried out in plants? Explain with two examples....
- P Physics A spring has a spring constant of 56 N/m. How far will it stretch when a block weighing 18 N is hung from its end? 18N/ 56N/m = 0.32m...
- H History What is the impact of the political and legal ideas contained in magna carta ?...
Ответ:
Epic
Explanation: