1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Inessa [10]
4 years ago
11

Given that the array monthSales of integers has already been declared and that its elements contain sales data for the 12 months

of the year in order (i.e., January, February, etc.), write a statement that writes to standard output the element corresponding to October.
Computers and Technology
1 answer:
Ahat [919]4 years ago
8 0

Answer:

System.out.println(monthSales[9]);

Explanation:

Since the array is called monthSales of type int and represents the months January - December, Its declaration in Java will be as follows:

int [] monthSales = new int[12];

This array contains 12 elements and it is indexed from 0-11 (i.e 0 for january and 11 for December)

The element corresponding to October which is the tenth month is at index 9

Hence the output statement System.out.println(monthSales[9]);

You might be interested in
Select the correct line of missing code to create an output of "hello."
s2008m [1.1K]

Answer:

B

Explanation:

This feels like an error on the question issuer's part.

3 0
3 years ago
What bug was supposed to start affecting computers on january 1 2000
horsena [70]

Answer: Y2K bug, also called Year 2000 bug or Millennium Bug

5 0
4 years ago
Explain all the generation of a computer,​
Reptile [31]

Answer:

Generation in computer terminology is a change in technology a computer is/was being used. Initially, the generation term was used to distinguish between varying hardware technologies. Nowadays, generation includes both hardware and software, which together make up an entire computer system.

Explanation:

hope its help

thank you

3 0
3 years ago
How do you level up? I don't have spells on here like I do in w.o.w
umka2103 [35]
You answer questions and complete challenges to get points, and for higher levels, you also have to get enough Brainliest answers.
8 0
3 years ago
Read 2 more answers
you have an ipv4 network that has two IPv6-only hosts that need to be able to communicate with each other. You want to implement
Soloha48 [4]

Answer:

Teredo tunnelling

Explanation:

The tunnelling method that will fit best in the situation is teredo tunnelling. The reason are embedded in its characteristics, they include;

Teredo tunneling has the following characteristics: Its tunnel endpoints are configured on hosts. The hosts are dual stack hosts and perform tunneling of ipv6 to send on the ipv4 network works through NAT the only solution that allows ipv4-only hosts to communicate with ipv6-only hosts is NAT-PT.

7 0
3 years ago
Other questions:
  • A friend complains that she is always running out of money even though she “never buys anything expensive.” What advice would yo
    10·1 answer
  • What is seven times seven divided by 49
    14·2 answers
  • Create a structure named planet This structure will contain distance from Earth as an integer Atmosphere, language, people and p
    8·1 answer
  • How do you add a PDF assignment to google docs and be able to edit it?
    13·1 answer
  • What has information technology made piracy possible?
    14·1 answer
  • Which app or website teaches java and phyton
    15·1 answer
  • PYTHON Write a grade program using a function called computegrade that takes a score as its parameter and return a grade as a st
    8·1 answer
  • The valid call to the function installApplication is
    5·1 answer
  • Where can formatting features be found ?! Need help asp !‍♀️
    9·1 answer
  • You have been asked to replace a cracked screen on a laptop. The replacement screen was delivered today, but it did not include
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!