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
A civil engineer is studying a left-turn lane that is long enough to hold seven cars. Let X be the number of cars in the line at
BartSMP [9]

Answer:

a) C= 1/120

b) P(X>=5) = 0.333

Explanation:

The attached file contains the explanation for the answers

7 0
3 years ago
Read 2 more answers
An array of electronic chips is mounted within a sealedrectangular enclosure, and colling is implemented by attaching analuminum
Licemer1 [7]

Answer:

Base temperature is 46.23 °C

Explanation:

I've attached explanations

6 0
3 years ago
Direction: List down or enumerate the type of outlets you want to install on your dream house. Also indicate the quantity (in pi
Lorico [155]

Answer:

Apartment outlet 4pcs

Explanation:

6 0
3 years ago
15 POINTS! Help.
IRISSAK [1]

Answer: it would  overload

Explanation:

4 0
3 years ago
Read 2 more answers
Imagine you compare the effectiveness of four different types of stimulant to keep you awake while revising statistics using a o
Arlecino [84]

Answer:

The correct answer is At least two of the stimulants will have different effects on the mean time spent awake.

Explanation:

The null hypothesis exposed leads to consider an alternative hypothesis that differs from the behavior of the 4 stimulants. In this case it is related to the effects on patients, since in practice at least one will present differences compared to the others, influencing the sleep time of consumers.

4 0
3 years ago
Other questions:
  • Technician A says that thrust angle refers to the direction the front wheels are pointing. Technician B says that scrub radius r
    11·1 answer
  • In order to avoid slipping in the shop, your footwear should __
    10·2 answers
  • What is the capacity of the machine in batches?
    10·1 answer
  • name the process by which mild steel can be converted into high carbon steel and explain it briefly ?​
    12·1 answer
  • How do engineering and technology impact the natural world and environment
    6·1 answer
  • What is the most likely reason the rover won't travel in a straight line?
    9·1 answer
  • ‘Politics and planning are increasingly gaining prominence in contemporary urban and regional planning debates’. Using relevant
    9·2 answers
  • A control system that is used in elevator system
    7·1 answer
  • The van der Waals equation is a modification of the ideal gas equation. What two factors does this equation account for? A. (1)
    6·1 answer
  • 1. Band saw lower wheel does not require a guard *
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!