Declare the subtypes necessary for each of the following- a


Problem

1. Declare an unconstrained array type for each of the following.

a. An array type with Float components and Integer indices.

b. An array type with Integer components and Integer indices.

c. An array type with Boolean components and Character indices.

d. An array type with Character components and Integer indices

2. Using the types you declared in the previous exercise, declare the subtypes necessary for each of the following.

a. A 24-component Float array for which the index goes from 1 to 24.

b. A 24-component Integer array for which the index goes from 24 to 47.

c. A 26-component Boolean array for which the index goes from ‘A' to ‘Z'.

d. A 10-component Character array for which the index goes from 10 to 1.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Declare the subtypes necessary for each of the following- a
Reference No:- TGS02652769

Expected delivery within 24 Hours