Computer Science, asked by thanuja864, 1 month ago

write a program segment to input data elements into a single dimensional array​

Answers

Answered by anshugupta6013
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<

Answered by GaganaShri
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<<age[i];

Similar questions