Question: (3 points) Write a function to read in cost of grocery purchase of each month in dollars (in type double) and calculate the annual grocery
(3 points) Write a function to read in cost of grocery purchase of each month in dollars (in type double) and calculate the annual grocery expense highest grocery expense, lowest grocery expense and average monthly expense and print them to the console. Create a file containing 12 numbers in type double for testing 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
