Using three dimensional array, create a program that will enter table, row, and column together with the total number of Elements then display the Biggest number, Smallest number, and Second to the biggest number.
Sample input and output:
Input:
Enter number of Tables: 2
Enter number of Rows: 2
Enter number of Columns: 2
Enter 8 number of Elements
2
6
34
76
34
90
56
45
The biggest number among them is: 98
The smallest number among them is: 2
The second to the biggest number is: 76
Comments
Leave a comment