Question: Please solve fast Question 1: CL0-1 (20 Marks) Read the data from an input file that contains an array of integer. Input data 3 1
Please solve fast

Question 1: CL0-1 (20 Marks) Read the data from an input file that contains an array of integer. Input data 3 1 6 0 -2 You have to write a program that reads this data and calculates the maximum value. Interpret the maximum value to create a square matrix of the size equal to maximum value calculated. Translate this matrix, with all the values initialized to 'X'. For example, the sample output for the input will be: Max value is 6: X X X X X X X X X X X X X X X X X X X X X X X X X X X Make a function to read the data and calculate the maximum value. Make a function to print the output Note that your input file can be different and can contain different number of coordinate. So your code should be generic and run for any input file with the same format
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
