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
kumpel [21]
4 years ago
6

Int i = 1, mult3 = 3;

Computers and Technology
1 answer:
il63 [147K]4 years ago
7 0

Answer:

3 6 18

Explanation:

<u>Code segment</u><u>:</u>

int i = 1, mult3 = 3;

while (mult3 < 20) {

// We assume the body of the while loop to be enclosed in {}

// Otherwise the code will print 3 in an infinite loop

System.out.print(mult3 + " ");

i++;

mult3 *= i;

}

Let us iterate through the while loop:

i=1 , mult3 = 3

i=2 , mult3 = 6

i=3 , mult3 = 18

i=4, mult3 = 72 ( The while loop terminates)

So the code will print out the following result:

3 6 18

You might be interested in
Is LTE faster than 4G?
ser-zykov [4K]
I thought there is a phone.4GLTE maybe internet
3 0
3 years ago
How do i recover a google account that was deleted?
Daniel [21]

Answer:

Just change your password

Explanation:

go to google account recovery and put in your old username and password if it has been a long time it might not come back. Or you can just change your password

7 0
3 years ago
What is the first step that you should undertake when performing a visual analysis of a work of art?
andrew11 [14]
The first step in performing a visual analysis of a work of art is to analyze whether the artist successfully portrayed the central message in the artwork. It is necessary to know whether or not the central message can be understood by the audience because it implies that the art was able to deliver the essence of what it wishes to deliver. It then becomes easy to understand the other elements in the art. 
5 0
4 years ago
Read 2 more answers
Linda is searching for a new job. Which information would her potential employers likely review in her social profile?
nasty-shy [4]
The answer will be A they would wanna know about her work history
3 0
3 years ago
Read 2 more answers
Consider an allocator that uses an implicit free list. The layout of each allocated and free memory block is as follows: 31 210
kakasveta [241]

Answer:

Explanation:

start with what you know

6 0
3 years ago
Other questions:
  • What is print media?
    14·1 answer
  • Points Possible: 6, Points Correct: 4
    6·1 answer
  • Insurance can help you:
    10·1 answer
  • Sam's manager would like him to create and distribute copies of a budget report for each department. The budget report should sh
    10·2 answers
  • What is the Documenter?
    10·1 answer
  • PROGRAM DESCRIPTION: In this assignment, you will write two complete C programs that will allow two players to play the game of
    12·1 answer
  • Which of the following is a good conductor of electricity and heat?
    13·2 answers
  • Which term describes the surrounding area of this image?
    10·1 answer
  • We know that February has either 28 or 29 days, but there is a year in the future, February will have 30 daysWhat exactly is thi
    15·1 answer
  • How many times is the second for loop going to loop in this block of code? Write your answer in numeric form in the box provided
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!