0

Char array

Create a program which print the letter in a char array in receive order for example : array1 ={ a,b,c,d,e,f,g}The output should be reverse gfedcba

4th Mar 2022, 8:56 AM
Kise
2 Respostas
+ 4
Kise You are doing a Java course but trying to resolve this in c++? Research loops, and how to run a loop backwards. Then you can iterate through your string in reverse, thus printing out in reverse order
4th Mar 2022, 9:16 AM
Rik Wittkopp
Rik Wittkopp - avatar