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
jok3333 [9.3K]
3 years ago
11

Write a statement that increases numPeople by 5. Ex: If numPeople is initially 10, the output is: There are 15 people.

Engineering
1 answer:
BartSMP [9]3 years ago
8 0

Answer:

import java.util.Scanner;

public class AssigningNumberToVariable {

public static void main (String [] args) {

int numPeople;

int numPeople_inc;

numPeople = 10;

/* solution */

numPeople_inc=numPeople+5;

System.out.print("There are ");

System.out.print(numPeople_inc);

System.out.println(" people.");

}

}

Explanation:

1. Declare a new variable called: numPeople_inc

2. Add 5 each time: numPeople_inc=numPeople+5;

3. Print the answer:  numPeople_inc=numPeople+5;

Optional, just write the line in the place where says: " your solutions goes here":

numPeople = numPeople+5;

You might be interested in
Multimeter and the LCD is showing Hz. What's she measuring?
eimsori [14]

Answer:

i think its d frequency

Explanation:

hz on a multimeter means frequency setting

6 0
3 years ago
1. Band saw lower wheel does not require a guard * true or false 2. Band saw upper guide should be adjusted to within 1/8" of th
Blizzard [7]

Answer:

1. Band saw lower wheel does not require a guard * true or false 2. Band saw upper guide should be adjusted to within 1/8" of the work piece * true or false 3. Find board & linear ft for 10 pieces of 4" x 4" x 8' *

4 0
2 years ago
Manufacturing employees who perform assembly line work are referred to as
mamaluj [8]

Answer:

C. assembly line workers.

Explanation:

8 0
3 years ago
Read 2 more answers
If Ori gives a friend three reasons for preferring soccer to basketball, that is an algorithm.
irinina [24]

Answer:

False I'm pretty sure sorry If its wrong

3 0
2 years ago
Read 2 more answers
(Practice work, not graded)
luda_lava [24]

Answer: ALL CAREFULLY ANSWERED CORRECTLY.

Explanation:

1) A loaf of Bread PHYSICAL SYSTEM

✓ How can the environment affect the edibility of the bread

✓ What are the constituents that makes up the bread

✓ What process is involved in these constituents mixing to form the loaf.

2) The law of thermodynamics makes us to understand that when heat/energy passes through a system, the systems internal energy changes with respect to the conservation of energy law. That is energy lost = energy gained. Typically, ice would melt in a cup of hot tea because of the thermal energy in the molecules of the hot tea. When you heat a material, you are adding thermal kinetic energy to its molecules and usually raising its temperature. The temperature of the ice raises due to the kinetic energy added to it and it melts to water.

3) The theory of systems view the world as a complex system of interconnected parts. If we consider the society; (financial systems, political systems, etc) we will agree that they individually have their own components and it's the summation of this components that makes the system, this implies that system thinking could be applicable in this kinda of systems as long as they are made up of components.

4) Technology has boosted every sector of our lives and it has the capacity to do more. Restricting it's importance to entertainment alone would be an underusing of its potentials. Engineering students infact should not need any drive to be encouraged about maximizing all it can do in shaping our world.

5) ~ Nature shows its splendid soul

~Never ceases to leave us in amazement

~And we are in love

7 0
3 years ago
Other questions:
  • Which is the correct order for handwashing
    11·2 answers
  • What kind of value should an employee possess when employees are expected to be responsible and fair?
    5·1 answer
  • ______________ help protect the lower legs and feet from heat hazards like molten metal and welding sparks. A) Safety shoesB) Le
    7·1 answer
  • Module 42 Review and Assessment
    7·1 answer
  • You could be sued if you injure someone while rescuing them if...
    11·2 answers
  • Digital leaders are people who __ others down a particular path.
    13·2 answers
  • Respond with TRUE if the symbol of the valve shown belows
    5·1 answer
  • 10. True or False? A disruptive technology<br> radically changes the way people live and<br> work.
    5·2 answers
  • 7. If you can't ignore a distraction, what should you do?
    15·1 answer
  • What is chemical engieering ?​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!