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
Harrizon [31]
3 years ago
14

Write a loop that reads positive integers from standard input, printing out those values that are greater than 100, and that ter

minates when it reads an integer that is not positive. the values should be separated by single blank spaces. declare any variables that are needed.
Computers and Technology
1 answer:
zepelin [54]3 years ago
7 0
Thank you for posting your question here. Below is the answer, I hope it helps. 

int number = 0;

while (stdin.hasNextInt() && number >= 0){
number =stdin.nextInt();
if (number > 100)
System.out.print(number + " ");
<span>}</span>
You might be interested in
What would be a situation in which you could use an excel chart to present your data
Pavlova-9 [17]
Having to compare results on experiments or lab tests to each other.
5 0
4 years ago
Read 2 more answers
Which of the following is NOT an advantage to using inheritance?
IrinaK [193]

Answer:

D)One big superclass can be used instead of many little classes.

Explanation:

Inheritance could be described as getting new class on another existing class with almost same execution,

inheritance allows codes to be re-used. It should be noted that inheritance bring about the code sharing among class.

The advantages of using inheritance includes but not limited to

✓ Code that is shared between classes needs to be written only once.

✓Similar classes can be made to behave consistently.

✓ Enhancements to a base class will automatically be applied to derived classes.

6 0
4 years ago
If you wanted a computer to store a variable with the content of “110 Maple Street,” which data type would be most appropriate?
hichkok12 [17]

Answer:

string

Explanation:

string holds words while boolean only returns true or false and both binary and float  hold numbers

8 0
3 years ago
Read 2 more answers
OH NO THE HEAVY IS DEAD
Anarel [89]

Answer:

what does that mean?

are you okay?

Did something happen?

4 0
3 years ago
Read 2 more answers
What component can be used for user input or display of output?
kogti [31]

Answer:

JTextField

Explanation:

JTextField is a Swing control which can be used for user input or display of output. It corresponds to a textfield and can be included with other controls such as JLabel, JButton,JList etc. on a comprehensive user interface which is application dependent. JTextField supports a read-write mode where the user can enter a value and it also supports a read-only mode which can be used to display non-editable output to the user.

4 0
3 years ago
Other questions:
  • The icon below represents the ____________.
    8·1 answer
  • Compute (110110001.01)2 + (27.12)10 + (121.25)16 – (130.20)16 and display the answer in hexadecimal base.
    7·1 answer
  • Unwanted email sent to large groups of people who did not request the communication is called _____
    12·1 answer
  • In this lab you will learn about the concept of Normal Forms for refining your database design. You will then apply the normaliz
    15·1 answer
  • What is the largest value that can be represented by 6 binary digits? .
    5·1 answer
  • The table button is present in the ……… tab.​
    14·2 answers
  • What is a cloud in the world of computing
    7·1 answer
  • takes the perspective that a program describes what the solution to a problem is, not how that problem is solved. Select one: a.
    5·1 answer
  • On a Windows system, which Task Manager tab would you use to adjust the priority given to a specific program
    13·1 answer
  • What should a pie chart represent?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!