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
densk [106]
3 years ago
11

Write a set of instructions (the code) to prompt the user for an int value and input it using the Scanner class into the variabl

e x and prompt the user for a int value and input it into the variable y.
Computers and Technology
1 answer:
JulsSmile [24]3 years ago
6 0

import java.util.Scanner;

public class MyClass {

   public static void main(String args[]) {

     Scanner scan = new Scanner(System.in);

     int x = scan.nextInt();

     int y = scan.nextInt();

   }

}

I hope this helps!

You might be interested in
Which team won the first World Series ?
Ulleksa [173]
Boston Red Sox, Boyo
5 0
4 years ago
Read 2 more answers
What might be some examples of Digital Citizenship Behavior?
likoan [24]

Answer:

Being nice to others and being respectful. Acting appropriately and with respect for you and others.

Explanation:

☆Hope this helps!☆

6 0
3 years ago
Kim's father's company has expanded many times. Therefore, the company's volume of data has also increased. The employees of tha
Flura [38]

B. LAN


She should choose the LAN because , its secured and wired. On LAN the huge amount of data can be transferred better than WLAN so the best option would be place LAN network for the employees to access the huge amount of data.

4 0
3 years ago
Read 2 more answers
Commet what u think of this mha fans only
g100num [7]

Answer: ITS SO CUTE

Explanation:

YESS SO CUTEEE

4 0
3 years ago
Write your question here (Keep it simple and clear to get the best answer)
Likurg_2 [28]

Answer:

Cool

Explanation:

Yep

7 0
3 years ago
Read 2 more answers
Other questions:
  • (Drag each tile to the correct box)While surfing online, Patricia first checks her email and reads the latest messages. She then
    8·1 answer
  • The company called ____ offers a complete graphic information system software solution for computer-generated maps that stores a
    8·1 answer
  • How to reply to text from unknown number?
    11·1 answer
  • Travis sends Suri what purports to be a link to an e-birthday card, but when she clicks on the link, software is downloaded to h
    11·1 answer
  • An sObject named Application _c has a lookup relationship to another sObject named Position_c.
    12·1 answer
  • There are several factors that can substantially affect the consumer search process. Match the factor with an example of how the
    5·1 answer
  • . Why should we favor programming to interfaces over implementations?
    6·1 answer
  • i have been looking for like 20 mins now and cant find the answers to test 3 on edhesive. does anybody have an clue to where i c
    12·1 answer
  • Hi, I am from India. Our brainly platform isn't so good, many of 'em keep spamming questions that I ask. US platform seems much
    9·1 answer
  • A _______________ is a particular type of network that uses circuits that run over the Internet but that appears to the user to
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!