Question: Applying 2 dimensional arrays and looping structure, create a program using C LANGUAGE that will allow the user to enter the number of rows (r)

Applying 2 dimensional arrays and looping structure, create a program using C LANGUAGE that will allow the user to enter the number of rows (r) and columns (c) and it will prompt the user to enter the rxc number of values ( it should be able to accept and print up to 2 decimal places). Then it will display all the entered values in a table format together with the corresponding computed average value per row and column. If the entered row and column value is less than 1 or more than 10, it will display an invalid message. There should be an option to run the program again or to exit. Please follow the sample output below.Applying 2 dimensional arrays and looping structure, create a program using C

Enter number of rows (1-10): 3 Enter number of columns(1-10): 5 Enter the 15 integer values, separated by space: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Table | 1.00 | 2.ee | 3.00 | 4.00 N 5.00 Average: 3.00 2.00 | | 6.00 | 7.00 | 8.00 | 9.00 | 10.00 Average: 8.00 | | 11.00 | 12.00 | 13.00 | 14.00 | 15.00 | Average: 13.00 Average: | 6.00 | 7.00 | 8.00 | 9.00 | 10.00 |

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!