Computer Science, asked by jatinrai5170, 11 months ago

Consider the linear arrays aaa (5:50), bbb (-5:10) & ccc(18), find the number of elements in each array

Answers

Answered by ankurbadani84
24

Answer:

Length ( AAA ) = 46, Length ( BBB ) = 16, Length ( CCC ) = 18

Explanation:

Number of element in each array = Upper Bound -  Lower Bound  + 1

Length ( AAA ) = 50 - 5 + 1 = 46

Length ( BBB ) = 10 - (-5) + 1 = 16

Length ( CCC ) = 18 - 1 + 1 = 18

Answered by riyakapila06
3

Answer:

Length ( AAA ) = 46, Length ( BBB ) = 16, Length ( CCC ) = 18

Explanation:

Number of elements in each array = Upper Bound -  Lower Bound  + 1

Length ( AAA ) = 50 - 5 + 1 = 46

Length ( BBB ) = 10 - (-5) + 1 = 16

Length ( CCC ) = 18 - 1 + 1 = 18

Similar questions