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 03:10
This program reads a file called 'test.txt'. you are required to write two functions that build a wordlist out of all of the words found in the file and print all of the unique words found in the file. remove punctuations using 'string.punctuation' and 'strip()' before adding words to the wordlist. write a function build_wordlist() that takes a 'file pointer' as an argument and reads the contents, builds the wordlist after removing punctuations, and then returns the wordlist. another function find_unique() will take this wordlist as a parameter and return another wordlist comprising of all unique words found in the wordlist. example: contents of 'test.txt': test file another line in the test file output: ['another', 'file', 'in', 'line', 'test', 'the']
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. sean is a computer programmer. he has programmed an application for toddlers that plays nursery rhymes. however, a logic error has occurred in the program. which problem is a likely consequence of the error? a. the program crashes every time the user wants to play the nursery rhymes. b. the program crosses its buffer boundaries and overwrites an adjacent program. c. the program plays a different nursery rhyme than the one the user intended to play. d. the program shows different structures in its programming language code. e. the program introduces new viruses every time the user plays a nursery rhyme.
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
How can you make your column headings stand out?
Answers: 1
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, 17.12.2020 02:30
question
Mathematics, 17.12.2020 02:30
question
Mathematics, 17.12.2020 02:30
question
Social Studies, 17.12.2020 02:30
question
Mathematics, 17.12.2020 02:30
question
Geography, 17.12.2020 02:30
question
Mathematics, 17.12.2020 02:30
question
Mathematics, 17.12.2020 02:30