subject

Declare an array of integers that has the capability to hold 10 values. Use a loop to assign the value 25 to the first spot in the array. For each subsequent spot, subtract 1. So for the second spot, the value will be 24. The third spot will be 23, and so on.
Once complete, print out the contents of the array.
The printed out array should look similar to this:
[25, 24, 23, ... ] // where '...' signifies the rest of the array values output
In Java

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:00
Which spereadsheet type will determine how well a bussiness has done over the past year
Answers: 1
question
Computers and Technology, 22.06.2019 04:50
Which are steps taken to diagnose a computer problem? a) reproducing the problem and using error codes b) reproducing the problem and troubleshooting c) using error codes and troubleshooting d) using error codes and stepping functions
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
What is the most popular genre of video games?
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What season was better from fortnite?
Answers: 2
You know the right answer?
Declare an array of integers that has the capability to hold 10 values. Use a loop to assign the v...
Questions
question
Mathematics, 12.07.2021 01:10
question
Mathematics, 12.07.2021 01:30
question
Mathematics, 12.07.2021 01:30
Questions on the website: 13722362