c for enginner homework
Homework must be fully commented and with output
2. (Reading from a file). The data file power1.dat contains a power plant output in megawatts over a period of 8 weeks. Each row of data contains 7 integers that represent 1 weekâ€™s data. Write a program that will compute and print to a file and to the screen the average power output over this period of time. Also print the number of days with greater-than-average power output.
Need help with writing c for enginner homework?Get help