Arry qn i need help pls 😭 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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

18th Nov 2021, 10:58 PM
Isack Mussa
Isack Mussa  - avatar
4 Réponses
19th Nov 2021, 7:43 PM
Brian
Brian - avatar
+ 1
Where is attempts?
18th Nov 2021, 11:46 PM
A͢J
A͢J - avatar
+ 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
19th Nov 2021, 8:26 PM
Isack Mussa
Isack Mussa  - avatar
0
Thanks 😊
21st Nov 2021, 8:10 PM
Isack Mussa
Isack Mussa  - avatar