Flip the array

  • 2
  • Locked
On Planet Linear Chaos, its inhabitants—ordered isomorphs—party with reckless abandon during the celebration of non-equilibrium! There's an extremely popular game called "flip the array". You too can play: create an array of 10 numbers, arrange them in reverse order, and then display them. Isomorphs really know how to party, don't they?
You can't complete this task, because you're not signed in.
Comments (5)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Michael F
Level 7 , Albany, United States
14 July 2021, 04:45
for (int i = 0; i < n / 2; i++) { int j = n - 1 - i; can someone please explain the logic? i get the syntax but not the logic
LT
Level 9 , United States
30 June 2021, 17:16
Use 2 for loops to complete the task. First one for reading the input and store it in the array. The second one is for printing the array in reverse order.
Aakankasha Sharma
Level 18 , Chandigarh, India
9 June 2020, 11:28
I created an array of 10 integers using Integer class, and the task failed.
Pahunchik
Level 8 , Moscow, Russian Federation
11 May 2021, 10:53
same thing
carlos oliveira
Level 10 , Seattle, United States
30 April 2019, 04:31
conditions: 3. Display the elements of the array in reverse order. Display each value on a new line. requirements: 4. The array must be displayed in reverse order. Suggestion: "I think this should be better understated . At least for me, i freak out to sort the array elements, whats doesn't apply for the task. Lol. 3. Display the elements of the array in reverse "INPUT" order. Display each value on a new line. requirements: 4. The array must be displayed in reverse "INPUT" order.