Question: ? Write a C program to take numbers from an input file (input dat), calculate the sum and average ofthe numbere for each row, and

? Write a C program to take numbers from an input file (input dat), calculate the sum and average ofthe numbere for each row, and display them in a form of table like the figure below both on screen unharet ieadent Sun Average res any kny to continue- Use these numbers in the input file. (input dat is attached) 0.043200 -0.003471 0.000000 0.100233 0.040326 -0.004851 0.000737 0.022249 0.018204 -0.004246 0.001530 0.161792 0.022249 0.008891 0.004870 0.199106 0.074892 0.044237 0.032171 0.341021 0.129600 0.100233 0.0S9016 0.221134 0.174747 0.160100 0.161792 0.00347S 0.200242 0.199106 0.214417 0.012351 0.174747 0.160100 0.161792 0.032452
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
