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
cupoosta [38]
3 years ago
9

1) Type a statement that gets an input value into variable numBers. Assume scnr already exists and numBers has been declared.

Computers and Technology
1 answer:
Sergio039 [100]3 years ago
4 0

Answer:

Following are the code in the java language  

numBers = scnr.nextInt ( ) ;

Here scnr is an instance of scanner class .

Explanation:

In this code, we take the input by using the object of Scanner class i.e "scnr". The scanner class in the java programming language is used for taking the input by the user. The scnr.nextInt ( )  is taking the input which is stored in the  "numbers" variable.

So the whole program is looking like that  

import java.util.*; // import package  

public class Main

{

public static void main(String[] args) // main function

{

 int numBers; // variable declaration

 Scanner scnr=new Scanner(System.in); // create the instance of scanner class

 numBers=scnr.nextInt( ) ; // taking input

 System.out.println(numBers); // display the value of numBers

}

}

Output:

78

78

You might be interested in
The state department that issues driver's licenses would like a police officer to be able to scan the driver's license and insta
frozen [14]

Answer:

The technology that the state should use is the Optical Character Recognition or OCR system which comprises of a driver license card with bar code or optical code character engraved on it that can be read by optical scanners that are then linked via the internet to access the recorded data regarding the card holder, including outstanding tickets and warrants.

With the system, a police will be able to both verify the authenticity of the drivers license and get answers to questions about the vehicle driver

Explanation:

6 0
3 years ago
Before you insert a page break, what should you do? select the font you want to use for the text that comes after the page break
Triss [41]
Put the insertion point where you want the page to break is what I would write.
7 0
3 years ago
n physics, a common useful equation for finding the position s of a body in linear motion at a given time t, based on its initia
Alinara [238K]
<span>I presume the 2 at the end of the formula is a typo (as the 2 and half will cancel each other out if it means to multiply by 2)

pseudocode excludes it: float s0 = 12.0
float v0 = 3.5
float a = 9.8
float t = 10
s = s0 + v0 * t + (a * t) / 2 Output(s) </span>
7 0
3 years ago
Today encoding scheme has taken over ascII by what
harkovskaia [24]
I do not know, i really hope you dont fail!!!!!!!!!
7 0
3 years ago
Which of the following is an example of software? Choose the answer.
OlgaM077 [116]

Answer: I believe it’s A operating system

Explanation: The mouse is something you can touch wich is hardware not software, a disk drive is also hardware not software, and so is a monitor.Software is something inside the computer so it’s a operating system.

3 0
3 years ago
Read 2 more answers
Other questions:
  • Which NSX feature would enhance their security so that this doesn’t happen again?
    15·1 answer
  • A(n) ___________ analyzes traffic patterns and compares them to known patterns of malicious behavior.
    8·1 answer
  • 1. What runs horizontally and is identified with numbers?
    12·2 answers
  • Give two advantages of representing integers in pure binary.
    5·1 answer
  • ________ is a publicly accessible website that allows users to add and edit interlinked web pages and make contributions from th
    8·2 answers
  • What is the output?
    7·2 answers
  • Apply Decision Tree Algorithm on the following data:
    12·1 answer
  • Which of the following occupations uses math concepts to determine if a particular event would occur and the related costs of th
    14·1 answer
  • Which option will be used to attach email messages ​
    6·1 answer
  • List three variables that could be used in creating a model that determines the best day to plant corn in a given location. 30 p
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!