write a program segment to input data elements into a single dimensional array
Answers
Answered by
3
Explanation:
Using 'for' loop: int age [10],i; for(i = 0;i<10;i++) { cin>>age[i]; } for(i=0;i<10;i++) cout<
its wrong i think
Answered by
7
Answer:
Array is a group of similar elements that share a common name. Using ‘for’ loop: int age [10], i; for(i=0; i<10; i++) { cin>>age[i]; } for(i=0;i<10;i++) cout<
Explanation:
hope it helps you
Similar questions