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
Stells [14]
3 years ago
11

What is the output for the following program?

Computers and Technology
1 answer:
Lelu [443]3 years ago
6 0

Answer:

Output:

15

20

25

Explanation:

In first iteration value of num is 10. Condition is checked 10 is less than 21 so value of num is incremented by 5 and value 15 is printed than again condition is checked 15<21 so value of num is incremented again and 20 is printed. Again condition is checked 20<21. So 25 is printed. Then 4th time when condition is checked vakue of num is 25 and while loop condition becomes false because 25 is not less than 21 and program is terminated here.

You might be interested in
Bill's manager has asked him to send all staff members the directions for checking out the new projector. In 1–2 sentences, desc
Alex787 [66]

He should send an email to all of his colleagues to inform them of all of the directions. Emails are an easy and fast route to letting people know what's up.

- Mabel <3

6 0
3 years ago
Read 2 more answers
Help with these 2 questions srry for the horrible pic​
Svetach [21]

Answer:

the first one is email address nd the second one is semi-blocked letters ? sorry if im wrong.

Explanation:

5 0
4 years ago
Read 2 more answers
WILL GIVE 100 POINTS AND GIVE BRAINIEST TO THE FIRST PEOPLE THAT ANSWER CORRECTLY!!!!!! Marcus wants to create a spreadsheet wit
maks197457 [2]

Answer:

tell me bar

Explanation:

5 0
4 years ago
Read 2 more answers
What does limited access to a document mean?
Licemer1 [7]
The second last one is the answer i think
7 0
4 years ago
Read 2 more answers
Helpppppppppppppp me pl;s
Natasha_Volkova [10]

Answer:

Option C or 3

Explanation:

solar panels can only produce energy when the sun is shining because all of the energy it produces is stored in a battery which then you use during the dark hours of the day. You also need to maintain the cleanliness of the panels because if they get dusty they will not produce as much energy.

8 0
3 years ago
Other questions:
  • Write a program that reads in 10 numbers from the user and stores them in a 1D array of size 10. Then, write BubbleSort to sort
    13·1 answer
  • You have a workstation running windows vista business that you would like to upgrade to windows 7 ultimate. you want to perform
    11·1 answer
  • An application server is used to communicate between a Web server and an organization's back-end systems.
    6·1 answer
  • Consider the following definitions:public boolean someMethod (int[] list, int value){ int counter; boolean flag = false; for (co
    10·1 answer
  • Which is one use for a hyperlink? A. to create a heading style B. to animate important text C. to create a link to a website. D.
    7·1 answer
  • Why does a CPU need Thermal Grease?
    14·1 answer
  • Can someone URGENTLY help me with my java code (I WILL GIVE BRAINLIEST)!? Ive been working on it for hours and its not working!
    12·1 answer
  • What is the difference between a 13 column abacus and 5 column abacus?
    10·1 answer
  • Please help me on this it’s due now
    5·1 answer
  • your manager has asked you to implement a network infrastructure that will accommodate failed connections. which of the followin
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!