Question: 8. (a) Write an Ada declaration for a rectangular two-dimensional array of integers named A, assuming that the subscripts will range from 1 to 10
8. (a) Write an Ada declaration for a rectangular two-dimensional array of integers named A, assuming that the subscripts will range from 1 to 10 in each dimension. (b) Write an Ada declaration for a one-dimensional array named A, where each element in the array is a one-dimensional array of integers. ssume that the subscripts for both will range from 1 to 10. (c) What are the advantages of declaring the array as described in (a)? (d) What are the advantages of declaring the array as described in (b)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
