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
bagirrra123 [75]
2 years ago
6

What is the output for the following program?

Computers and Technology
1 answer:
murzikaleks [220]2 years ago
6 0

Answer:

13

Explanation:

int numA = 4;

whilie (numA < 12){

  numA += 3;

}

System.out.print(numA);

numA          numA < 12

  4                   true <em>⇒ numA increases by 3, loop continues </em>

  7                   true <em>⇒ numA increases by 3, loop continues </em>

  10                 true<em> ⇒ numA increases by 3, loop continues</em>

  13                 false <em>⇒ loop stops, program them prints out value of numA </em>

You might be interested in
In ancient times what did kings and tribals chiefs use to communicate
mel-nik [20]

Answer:

they used sign language to communicate and also pegion was used to communicate

8 0
3 years ago
What is thought to have caused the extinction of the dinosaurs?
AnnyKZ [126]
I think it's believed that an asteroid that hit Earth caused their extinction.
3 0
4 years ago
What is the function of the command prompt?
yan [13]
The answer is B cause you use it to make commands
6 0
3 years ago
How many centimeters are there in 1 meters
konstantin123 [22]
1 meters is = 100 centimeters
8 0
4 years ago
Read 2 more answers
What is a software that allows the user to modify and redistribute?
lara31 [8.8K]
A software that does and allows this is free software
8 0
4 years ago
Other questions:
  • what would happen if a large number of computer users are attempting to access a web site at the same time that you are
    15·2 answers
  • Dr. Robbins wants to know if there are different opinions regarding the value of public school education between Native American
    11·1 answer
  • Write the proghrams for the following:
    13·1 answer
  • What is a form of a stationary mouse on which the movement of a finger causes the pointer on the screen to move?
    7·1 answer
  • Plato: A university wants to install a client-server network. Which feature do you think is important for them as they set up th
    5·1 answer
  • Which kind of testing runs the system in a simulated environment using simulated data?a) validation testing. b) verification tes
    5·1 answer
  • Need some help writing a simple PYTHON Student registration program:
    5·1 answer
  • In a List of Positive Integers, Set MINIMUM to 1. For each number X in the list L, compare it to MINIMUM. If X is smaller, set M
    11·1 answer
  • An Accenture healthcare client is interested in implementing an Artificial Intelligence (AI) solution to improve patient care, b
    11·1 answer
  • Where should broadheads be kept while traveling to and from the field? in a plastic bag to protect from moisture in a carrier at
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!