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
The process of bringing data or a file from one program to another is called
lys-0071 [83]
One can transfer data from one database to the other and this is called importing and linking. When importing, one can select the object he or she wants to copy and can control tables being imported and specify the relationship of tables if it would also be transferred.
8 0
3 years ago
Read 2 more answers
Which of the following is NOT areserved word in Java?intpublicstaticnum
Rama09 [41]

Answer:

num

Explanation:

In java reserved words are also known as keywords, keywords are reserve words for a language that can't be used as an identifier(name of a class, name of a variable, name of an array etc.) int, public static, are reserve words.

In given question num is not a reserved word.

6 0
3 years ago
Hard drive access time is measured in
SIZIF [17.4K]

Answer: D) milliseconds

Explanation:

Hard drive access time are measured in milliseconds as, for the personal computer the hard drive access time is about 9 to 15 milliseconds and it basically includes the time taken for the read and write for locate the parts on the disk. As, this is the average time as it depends upon how far the head from desired.

5 0
3 years ago
What letter names the drive where windows most commonly stores data and files
Degger [83]

the (C:) drive is the default most of the time unless you go and change the partition letter.

5 0
3 years ago
What motivated Barbara MBANEFO to become an engineer?
luda_lava [24]

Answer:

to help her community and give hope to others

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • The kitchen in any café is a noisy place. To make sure the orders which you have carefully written down on your notepad make it
    14·1 answer
  • Steps needed to deposit cash on cash deposit machine
    6·1 answer
  • Before desktop computers made italic fonts available in the home and office, writers used underlining to:
    12·1 answer
  • Which one of the following is not the name of a 20th century school composition
    14·2 answers
  • Based on your understanding of Moore’s Law, what do you predict will be the next trend in the evolution of computers?
    10·1 answer
  • Your supervisor has asked you to set up a RAID hard drive array in a tower system, which has a motherboard that uses the B360 ch
    10·1 answer
  • Which objects with developed to help astronomers to learn more about the sun
    12·1 answer
  • What is one expectation of open-source software?
    15·1 answer
  • Explain 5 service provided by Internet​
    6·1 answer
  • What is the danger of open-source software when it comes to military robotics?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!