Challenge: Reverse Print
Uppgift
Swipe to start coding
Write a function that prints the elements of a string array in reverse order, one per line.
- Start from the last element of the array.
- Continue printing each element until you reach the first element.
- Print each element on its own line.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 7
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 3.57
Challenge: Reverse Print
Svep för att visa menyn
Uppgift
Swipe to start coding
Write a function that prints the elements of a string array in reverse order, one per line.
- Start from the last element of the array.
- Continue printing each element until you reach the first element.
- Print each element on its own line.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 1. Kapitel 7
single