+ 1
Arry qn i need help pls 😭
i.store names of 20 students in array named stdname ii.print all names stored in they array formed in 2.i iii.print all names stored in array formed in 2.i from the last element to the first element
6 ответов
+ 2
Reviewing some lessons might help:
For loop
https://www.sololearn.com/learning/1616/
Arrays
https://www.sololearn.com/learning/1625/
Arrays in loops
https://www.sololearn.com/learning/1627/
+ 1
Where is attempts?
+ 1
i. String studentName[20]{ " write 20 name here" };
for( i=0; i>20;i++){
Cout<< i<<": "<<studentName[ i]<<endl;
}
for( j=20; j>0;j--){
Cout<<j<<studentName[j]<<endl;
}
I try this i dont think it good way
0
Thanks 😊