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
liubo4ka [24]
3 years ago
7

Basic output with variables (Java) This zyLab activity is intended for students to prepare for a larger programming assignment.

Warm up exercises are typically simpler and worth fewer points than a full programming assignment. Warm up exercises are ideally suited for an in-person scheduled lab meeting or as self-practice. The last section provides a full programming assignment. A variable like userNum can store a value like an integer. Extend the given program to print userNum values as indicated. (Submit for 2 points) (1) Output the user's input. Enter integer: 4 You entered: 4 (2) Extend to output the input squared and cubed. Hint: Compute squared as userNum userNum. (Submit for 2 points, so 4 points total). Enter integer: 4 You entered: 4 4 squared is 16 And 4 cubed is 64!! (3) Extend to get a second user input into userNum2. Output sum and product. (Submit for 1 point, so 5 points total). Enter integer: 4 You entered: 4 4 squared is 16 And 4 cubed is 64!! Enter another integer: 5 4 5 is 9 45 is 20 LAB 1.16.1: Basic output with variables (Java) 0/5 ACTIVITY OutputWithVars.java Load default template... 1 import java.util.Scanner; 2 3 public class OutputWithVars public static void main(String [] args) Scanner scnr new Scanner(System. in); int userNum - 0 6 7 System.out.println ("Enter integer: ") userNum scnr. next Int ( ) ; 9 10 return; 11 12 13
Engineering
1 answer:
9966 [12]3 years ago
3 0

Answer:

1

Explanation:

You might be interested in
What term specifically describes small chunks of rocks and debris in space that burn up in Earth’s atmosphere?
inessss [21]

Term specifically describes small chunks of rocks and debris in space that burn up in Earth’s atmosphere is :

Meteors

Explanation:

  • A meteor is a meteoroid or a particle broken off an asteroid or comet orbiting the Sun – that burns up as it enters the Earth's atmosphere, creating the effect of a "shooting star".
  • Meteoroids that reach the Earth's surface without disintegrating are called meteorites.
  • Due to Earth's escape velocity, the minimum impact velocity is 11 km/s with asteroid impacts averaging around 17 km/s on the Earth. The most probable impact angle is 45 degrees.
  • Meteoroids have a pretty big size range. They include any space debris bigger than a molecule and smaller than about 330 feet space debris bigger than this is considered an asteroid.
  • But most of the debris the Earth comes in contact with is "dust" shed by comets traveling through the solar system.
  • The surface of a meteorite is generally very smooth and featureless, but often has shallow depressions and deep cavities resembling clearly visible thumbprints
  • Most iron meteorites, like the example at right, have well-developed regmaglypts all over their surface.
6 0
4 years ago
I have to create a mask and i would like some ideas of how i could create it or yall have any ideas?
Paul [167]

Answer:

get a mask mold and the strips of the stuff than gets sticky when it's wet. Do 2 or 3 layers of it on the mold wait a few days for it to dry and then design it

Explanation:

4 0
3 years ago
Read 2 more answers
True False. First angle projection type used in United states.
Sloan [31]

Answer:

FALSE.

Explanation:

the correct answer is FALSE.

Projection is the process of representing the 3 D object on the flat surface.

there are four ways of representing the projection

1) First angle projection  

2) second angle projection

3) third angle projection

4) fourth angle projection.

Generally, people prefer First and third angle projection because there is no overlapping of the projection take place.

In USA people uses the third angle of projection.

5 0
3 years ago
What is the main reason for using a complex data table?
wolverine [178]

Answer:

D. To interpret the possible meaning of the data

7 0
3 years ago
Read 2 more answers
Free brainlist because im new and i just want to but you have t friend me first
Amiraneli [1.4K]
Okay sure.









I’ll 1)chords
2)pulse
3)aerophone
4) the answer is C
5)rhythm

Pretty sure those are the answers
4 0
3 years ago
Other questions:
  • Compute the sum with carry-wraparound (sometimes called the one's complement sum) of the following two numbers. Give answer in 8
    15·1 answer
  • 1.5 kg of liquid water initially at 12∘C is to be heated to 95∘C in a teapot equipped with an 800-W electric heating element ins
    9·1 answer
  • A rectangular channel 6 m wide with a depth of flow of 3 m has a mean velocity of 1.5 m/s. The channel undergoes a smooth, gradu
    9·1 answer
  • . On Juan's twenty-sixth birthday, he deposited $7,500 in a retirement account. Each year thereafter, he deposited $1,000 more t
    11·1 answer
  • A. The temperature of a system is measured to be 75 °F. Express this temperature in °C, K, and R.
    9·1 answer
  • When lining up the song on the tempo grid it is important to allow
    13·1 answer
  • Air-conditioners consume a significant amount of electrical energy in buildings. Split air conditioner is a unitary system where
    5·1 answer
  • A steel wire is suspended vertically from its upper end. The wire is 400 ft long and has a diameter of 3/16 in. The unit weight
    13·1 answer
  • What information you would gain by watching the video. Plz Help due today.
    6·1 answer
  • HELP PLEASE ! TYYYY!!!!!!!!!!!!!!!!!!!!!!!!
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!