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
natta225 [31]
3 years ago
7

Write two scnr.nextInt statements to get input values into birthMonth and birthYear. Then write a statement to output the month,

a slash, and the year. End with newline. The program will be tested with inputs 1 2000 and then with inputs 5 1950. Ex: If the input is 1 2000, the output is: 1/2000
Engineering
1 answer:
aalyn [17]3 years ago
3 0

Answer:

import java.util.Scanner;

public class InputExample {

   public static void main(String[] args) {

       Scanner scnr = new Scanner(System.in);

       int birthMonth;

       int birthYear;

       birthMonth = scnr.nextInt();

       birthYear = scnr.nextInt();

       System.out.println(birthMonth+"/"+birthYear);

   }

}

You might be interested in
Elements of parallel computing
Leya [2.2K]

\huge{\orange}\fcolorbox{purple}{cyan}{\bf{\underline{\green{\color{pink}Answer}}}}

<h3><u>E</u><u>lements of parallel </u><u>computing:</u></h3>

  • Computer systems organization.
  • Computing methodologies.
  • General and reference.
  • Networks.
  • Software and its engineering.
  • Theory of computation.

6 0
1 year ago
For this given problem, if the yield strength is now 45 ksi, using Distortion Energy Theory the material will _______ and using
serious [3.7K]

Answer:

Option A - fail/ not fail

Explanation:

For this given problem, if the yield strength is now 45 ksi, using Distortion Energy Theory the material will _fail______ and using the Maximum Shear Stress Theory the material will ___not fail_______

6 0
3 years ago
What is the function of the following: 1- Oil rings 2- Flywheel 3- Timing gears
Tanya [424]

Answer:

Explanation:

The functions of the following are as follows:

1). Oil Rings:

  • Regulates oil within cylinder walls.
  • Helps to keep cylinder walls lubricated
  • Prevent Heat transfer
  • Reduce friction between piston and cylinder

2). Fly Wheel:

  • It is used to store rotational energy
  • It resist any change in rotational speed due to its moment of inertia
  • It helps to control the orientation of the mechanical system

3). Timing gears:

  • It provides synchronization in the rotation of crankshaft and the camshaft so as to provide proper valve opening and closing time during each cylinder's stroke(intake and exhaust).
4 0
3 years ago
A cylindrical bar of metal having a diameter of 17.8 mm and a length of 196 mm is deformed elastically in tension with a force o
ExtremeBDS [4]

Answer:

A) ΔL = 0.544 mm

B) Δd = -0.0168 mm

Explanation:

We are given;

Elastic modulus; E = 67.1 GPa = 67.1 × 10^(9) Pa

Force; F = 46400 N

Diameter; d = 17.8 mm = 17.8 × 10^(-3) m

Radius; r = d/2 = 17.8/2 = 8.9 mm = 8.9 × 10^(-3) m

Length; L = 196 mm = 0.196 m

Poisson ratio; ν = 0.34

A) We know that formula for elastic modulus is;

E = σ/ε

Where;

σ = F/A

ε = ΔL/L

Thus;

E = (FL/ΔL•A)

ΔL is change in length. Making it the subject of the formula, we have;

ΔL = FL/AE

Now, A = πr²

A = π × (8.9 × 10^(-3))²

ΔL = [(0.196 × 46400)/(π × (8.9 × 10^(-3))² × 67.1 × 10^(9)]

ΔL = 0.544 × 10^(-3) m

ΔL = 0.544 mm

B) formula for Poisson ratio is given as;

ν = -ε_x/ε_z

Where;

ε_x is transverse strain = Δd/d

ε_z is longitudinal strain = ΔL/L

Thus;

ν = -Δd•L/d•ΔL

Making Δd the subject, we have;

Δd = -νdΔL/L

Δd = -(0.34 × 17.8 × 10^(-3) × 0.544 × 10^(-3))/0.196

Δd = -0.0168 × 10^(-3) m = -0.0168 mm

7 0
3 years ago
During shielded metal arc welding, a welder can receive a burn comparable to sunburn if proper protective clothing is not worn.
aksik [14]

Answer:

A. True

Explanation:

The statement is true

6 0
2 years ago
Other questions:
  • A lake with constant volume 1.1 x 10^6 m^3 is fed by a stream with a non-conservative pollutant of 2.3 mg/L and flow rate 35 m^3
    14·1 answer
  • LUNES MARTES MIÉRCOLES JUEVES VIERNES SÁBADO DOMINGO
    10·1 answer
  • Design a circuit with output f and inputs x1, x0, y1, and y0. Let X = x1x0 and Y = y1y0 represent two 2-digit binary numbers. Th
    10·1 answer
  • If you touch a downed power line, covered or bare, what's the likely outcome?
    8·2 answers
  • An engineer is considering time of convergence in a new Layer 3 environment design. Which two attributes must be considered? (Ch
    15·1 answer
  • Convert 25 mm into in.
    13·1 answer
  • A spherical tank for storing gas under pressure is 25 m in diameter and is made of steel 15 mm thick. The yield point of the mat
    5·2 answers
  • A particular electromagnetic wave travelling in vacuum is detected to have a frequency of 3 × 10 12 Hz. How much time will it ta
    6·1 answer
  • In-------process the hot drawn bar or rod is pulled through the die.
    7·1 answer
  • This test should be performed on all cord sets, receptacles that aren't part of a building or structure's permanent wiring, and
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!