Question: Programming language is c programming. Pls avoid using cout and cin instead use printf and scanf. Your help is much appreciated. The tab delimited file

Programming language is c programming. Pls avoid using cout and cin instead use printf and scanf. Your help is much appreciated.
The tab delimited file "vehicle.txt" contains the sales information of different types of vehicles (car, MPV, bus and lorry) as follows: Month January February March April May June Car 100 150 125 75 80 95 MPV 75 25 66 35 30 33 Bus 50 45 22 30 15 35 Lorry 25 20 12 25 13 22 (a) Draw the flowchart to read the file calculate the sum of sales and average of sales for each type of vehicle, and then store it into a file named "sales.txt. (b) Write a C program to read the file, calculate the sum of sales and average of sales for each type of vehicle, and then store it into a file named "sales.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
