![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 10.09.2019 21:30, rhiannonwheatcr4468
Write a for loop to print all elements in coursegrades, following each element with a space (including the last). print forwards, then backwards. end each loop with a newline. ex: if coursegrades = {7, 9, 11, 10}, print: 7 9 11 10 10 11 9 7 hint: use two for loops. second loop starts with i = coursegrades. length - 1. (notes) note: these activities may test code with different test values. this activity will perform two tests, both with a 4-element array. see "how to use zybooks". also note: if the submitted code tries to access an invalid array element, such as coursegrades[9] for a 4-element array, the test may generate strange results. or the test may crash and report "program end never reached", in which case the system doesn't print the test case that caused the reported message.
![answer](/tpl/images/cats/otvet.png)
Answers: 2
Similar questions
![Предмет](/tpl/images/cats/informatica.png)
Computers and Technology, 20.07.2019 03:20, girlchamp654
Answers: 2
![Предмет](/tpl/images/cats/informatica.png)
Computers and Technology, 25.07.2019 03:30, mimigg0621
Answers: 1
![Предмет](/tpl/images/cats/informatica.png)
Computers and Technology, 14.10.2019 21:00, abbz13
Answers: 2
Do you know the correct answer?
Write a for loop to print all elements in coursegrades, following each element with a space (includi...
Questions in other subjects:
![Konu](/tpl/images/cats/fizika.png)
Physics, 06.05.2020 00:24
![Konu](/tpl/images/cats/informatica.png)
Computers and Technology, 06.05.2020 00:24
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/geografiya.png)
Geography, 06.05.2020 00:24
![Konu](/tpl/images/cats/istoriya.png)
History, 06.05.2020 00:24
![Konu](/tpl/images/cats/mat.png)
Mathematics, 06.05.2020 00:24
![Konu](/tpl/images/cats/mat.png)
Mathematics, 06.05.2020 00:24
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/biologiya.png)