subject

I don't know how to solve this one. I don't even know how to write it. I need help. Please.

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

Note: The input values come from user input, so be sure to use scnr. nextInt statements, as in birthMonth = scnr. nextInt();, to get those input values (and don't assign values directly, as in birthMonth = 1).
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();

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Lisa’s company, abc ltd., lost its biggest client and is now facing a financial crunch. most of her colleagues have resigned, but lisa decides to stay with the company and assist the management in overcoming the financial situation. which quality is lisa demonstrating? a. self-management b. cooperativeness c. responsibility d. loyalty
Answers: 2
question
Computers and Technology, 22.06.2019 14:30
What percentage of companies is projected to use social media to locate new employees in 2012
Answers: 2
question
Computers and Technology, 22.06.2019 22:00
Researchers measured the data speeds for a particular smartphone carrier at 50 airports. the highest speed measured was 78.1 mbps. the complete list of 50 data speeds has a mean of x overbarequals16.11 mbps and a standard deviation of sequals18.65 mbps. a. what is the difference between carrier's highest data speed and the mean of all 50 data speeds? b. how many standard deviations is that [the difference found in part (a)]? c. convert the carrier's highest data speed to a z score. d. if we consider data speeds that convert to z scores between minus2 and 2 to be neither significantly low nor significantly high, is the carrier's highest data speed significant? a. the difference is nothing mbps.
Answers: 3
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
You know the right answer?
I don't know how to solve this one. I don't even know how to write it. I need help. Please.
Questions
question
English, 26.10.2020 18:50
question
History, 26.10.2020 18:50
question
Geography, 26.10.2020 18:50
question
Mathematics, 26.10.2020 18:50
Questions on the website: 13722361