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
The first widely adopted windows product, ____, featured a standardized look and feel, similar to the one made popular by apple'
slega [8]
<span>The first widely adopted windows product, Windows 3, featured a standardized look and feel, similar to the one made popular by Apple's Macintosh computer .
</span>
Microsoft’s Windows operating system was first introduced in 1985, Windows 3 which was released in 1990 was the first version to see more widespread success, because it had the ability to run MS-DOS programmes in windows which brought multitasking in programming.


8 0
3 years ago
The function of the __________ is to on transmission assemble data into a frame, on reception disassemble frame and perform addr
iris [78.8K]

Answer: Media access control layer (MAC layer)  

Explanation:

The media access control layer is also known as MAC layer. The main function of the media access control layer is that it is used in the transmission of the data into the frame and perform the error detection and the address recognition which basically govern the accessing to the local area network (LAN) transmission medium.

The media access control layer is basically responsible for transmission of the data packets from NIC (Network interface card) to the another channel.

8 0
4 years ago
he primary purpose of a database query is to a. find and retrieve specific information. b. correct information in the database.
cestrela7 [59]

Answer:

find and retrieve specific information

Explanation:

7 0
2 years ago
What might happen if dispatchable threads were removed from the software hierarchy? A. Requests from the mouse would be ignored.
Goryan [66]
So the question ask on which of the following among the choices might happen if dispatchable threads were removed from the software hierarchy and the best answer among your choices is letter D. Background program would be dropped. I hope you are satisfied with your answer 
4 0
3 years ago
What should you do when you are working on an unclassified system and receive an email.
koban [17]

Answer:

Don't respond to it. Either leave it there, or just delete it. It is most likely spam or a scammer trying to get your information. Don't respond, please.

3 0
2 years ago
Other questions:
  • Briefly outline what LCD screen contain on the inside and why shouldn't it be opened by someone who is not qualified to work wit
    13·2 answers
  • CNG and gasoline-powered vehicles use the same internal combustion engine, but different fuel types. A) True B) False
    8·2 answers
  • Tower Building Activity
    12·1 answer
  • Files with what two file extensions are commonly known as tarballs??
    8·1 answer
  • What method of the Math object can be used to return the largest value from the values that are passed to it?
    14·1 answer
  • A Chief Information Security Officer (CISO) needs to establish a KRI for a particular system. The system holds archives of contr
    13·1 answer
  • What movie would be greatly improved if it was made into a musical?
    6·1 answer
  • Write a java program to print the following series: <br>1 5 9 13 17...n terms​
    13·2 answers
  • Why is science, mathematics, and technology different from engineering?
    15·1 answer
  • Is majority intent determined by how many times the same type of result is shown on the search engine result page?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!