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
For which of 'water' flow velocities at 200C can we assume that the flow is incompressible ? a.1000 km per hour b. 500 km per ho
ad-work [718]

Answer:d

Explanation:

Given

Temperature=200^{\circ}\approc 473 K

Also \gamma for air=1.4

R=287 J/kg

Flow will be In-compressible when Mach no.<0.32

Mach no.=\frac{V}{\sqrt{\gamma RT}}

(a)1000 km/h\approx 277.78 m/s

Mach no.=\frac{277.78}{\sqrt{1.4\times 287\times 473}}

Mach no.=0.63

(b)500 km/h\approx 138.89 m/s

Mach no.=\frac{138.89}{\sqrt{1.4\times 287\times 473}}

Mach no.=0.31

(c)2000 km/h\approx 555.55 m/s

Mach no.=\frac{555.55}{\sqrt{1.4\times 287\times 473}}

Mach no.=1.27

(d)200 km/h\approx 55.55 m/s

Mach no.=\frac{55.55}{\sqrt{1.4\times 287\times 473}}

Mach no.=0.127

From above results it is clear that for Flow at velocity 200 km/h ,it will be incompressible.

5 0
3 years ago
Why does a foil airplane fly farther than a paper one?
Free_Kalibri [48]

Answer:

the reason paper airplanes fly is because of lift the foil has no lift

Explanation:

5 0
4 years ago
Question #4
inn [45]

Answer:

Deconstruction

Explanation:

8 0
3 years ago
Jerry wants to manufacture flat metal sheets. Which process will he use?
Marina CMI [18]
Option choice d is the correct answer
5 0
3 years ago
3. A competency-based training program is
Vesna [10]
C and B is the answer of the questions
7 0
4 years ago
Other questions:
  • Consider two electrochemical reaqctions. Reaction A results in the transfer of 2 mol of electrons per mole of reactant and gener
    14·2 answers
  • 11. Ten bagels is what percentage of a dozen bagels?
    10·1 answer
  • Link AB is to be made of a steel for which the ultimate normal stress is 65 ksi. Determine the cross-sectional area of AB for wh
    14·1 answer
  • section 10.1 describes a man in the middle attack on the diffie-hellman key exhange protocal in which the adversary generates tw
    11·1 answer
  • Rosbel or Janette lol baakkaaa
    11·2 answers
  • A person is interested in becoming an electrician. What are some appropriate types of preparation that this individual can consi
    7·2 answers
  • Steam enters an adiabatic turbine at 6 MPa, 600°C, and 80 m/s and leaves at 50 kPa, 100°C, and 140 m/s. If the power output of t
    14·1 answer
  • below is an attempt at implementing a circle class. the class should feature a constructor that takes a starting radius, a float
    13·1 answer
  • What happens to the duty cycle for a GMAW Gun when 75Ar/25COzgas
    5·1 answer
  • When bending metal, the material on the outside of the curve stretches while the material on the inside of the curve compresses.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!