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
What is a network? I'LL MARK BRAINLEST
Jobisdone [24]

Answer:

hsjeeieoj eu sou ku nahi u have UCC guide to buying it and I he was a temporary password for bees and u h ki tarah nahi to ye sab se jyada nahi hota nahi to kabhi bhi hai ki wo to sirf Tum nahi hota

7 0
3 years ago
Read 2 more answers
Identify the true statements about the relationship between the distillate and the sample mixture in a simple distillation.
fenix001 [56]

Answer:

The answer is "Choice b,c, and d".

Explanation:

The distillation would be the separation phase of working liquids that boil close to each other. Whenever the formulation is long-term, a much more fraction of a compound collected will have a lower boiling point than it would otherwise be. In other phrases, it'll be pulverized with both the lower level, also with the boiling point. Its structure of both the diluted volatile component may therefore include another cell's contaminants.

8 0
3 years ago
A hot plate with a temperature of 60 C, 50 triangular profile needle wings of length (54 mm), diameter 10 mm (k = 204W / mK) wil
frez [133]

Complete question is;

A hot plate with a temperature of 60 °C will be cooled by adding 50 triangular profile needle blades (k = 204 W/m.K) with a length of 54 mm and diameter 10 mm. According to the ambient temperature 20 °C and the heat transfer coefficient on the surface 20 W/m².K. Calculate,

a-) Wing efficiency

b-) Total heat transfer rate (W) from the wings,

c-) Calculate the effectiveness of a wing.

Answer:

A) Efficiency = 96.05 %

B) Total heat transfer rate = 166.68 W/m

C) Wing Effectiveness = 10.42

Explanation:

Please find attached explanation for all the answers given.

3 0
3 years ago
Freeeee pointssssssssssss
Annette [7]

Answer:thx

Explanation:

5 0
3 years ago
Read 2 more answers
Consider a system whose temperature is 18°C. Express this temperature in R, K, and °F.
zvonat [6]

Answer:

In Rankine 524.07°R

In kelvin 291 K

In Fahrenheit 64.4°F  

Explanation:

We have given temperature 18°C

We have to convert this into Rankine R

From Celsius to Rankine we know that  T(R)=(T_{C}+273.15)\frac{9}{5}

We have to convert 18°C

So T(R)=(18+273.15)\frac{9}{5}=524.07^{\circ}R

Conversion from Celsius to kelvin

T(K)=(T_{C}+273)

We have to convert 18°C

T(K)=(18+273)=291K

Conversion of Celsius to Fahrenheit

T(F)=T_{C}\times \frac{9}{5}+32=64.4^{\circ}F

7 0
3 years ago
Other questions:
  • Pine Valley Furniture wants to use Internet systems to provide value to its customers and staff. There are many software technol
    5·1 answer
  • Assuming the point estimate in Problem 6.36 is the true population parameter, what is the probability that a particular assay, w
    15·1 answer
  • A Type I muscle fibers have an average diameter of 98 µm, and can exert a compressive load of 532 µN[1]. If they are modeled as
    11·1 answer
  • A satellite is launched 600 km from the surface of the earth, with an initial velocity of 8333.3 m./s, acting parallel to the ta
    14·1 answer
  • Several different loads are going to be used with the voltage divider from Part A. If the load resistances are 300 kΩkΩ , 200 kΩ
    7·1 answer
  • Consider a half-wave rectifier circuit with a triangular-wave input of LaTeX: 6V6 V peak-to-peak amplitude and zero average valu
    6·1 answer
  • PLEEEAASSSSEEEE HELP ME!!
    13·1 answer
  • What car has autopilot?
    14·2 answers
  • Calculate the torque produced by a motor that has 500 windings across a 30cm diameter rotating core. The core is 0.6 M long insi
    12·1 answer
  • The __________ developed the national electric code, the national building code, and the national fire prevention code.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!