Question: Please use unix and not C to finish this program, thank u very much! 4) (20 marks) Write a C program named a3q4.c which reads

 Please use unix and not C to finish this program, thanku very much! 4) (20 marks) Write a C program named a3q4.c

Please use unix and not C to finish this program, thank u very much!

4) (20 marks) Write a C program named a3q4.c which reads three columns of floating point numbers, prints them in alligned columns and calculates average of each of them. You must use double precision The program reads the standard input and produces the standard output Input The program will first read a positive integer number n which specifies how many rows of floating-point numbers follow. After that line, there will be n lines of floating point numbers with three numbers in each line separated by white space. An example of input file is: 4 1 -2 3.0 1.1 2.2 5.0 1.2 4 -12.4 0.3 1.3 4.4 Output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!