write a program segment to input data elements into a single dimensional array
Answers
Answered by
1
Answer:
A one-dimensional array (or single dimension array) is a type of linear array. Accessing its elements involves a single subscript which can either represent a row or column index. ... Here, the array can store ten elements of type int . This array has indices starting from zero through nine
PLEASE MARK ME THE BRAINLIEST ANSWER AND PLEASE FOLLOW MY ACCOUNT TOO...
Answered by
0
Answer:
Using 'for' loop: int age [10],i; for(i = 0;i<10;i++) { cin>>age[i]; } for(i=0;i<10;i++) cout<
Similar questions