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
charle [14.2K]
2 years ago
3

write a loop that reads positive integers from standard input, printting out those value that are greater than 100

Computers and Technology
1 answer:
MissTica2 years ago
5 0

The code can be written using a while loop that reads positive integers from standard input, printing out those values that is greater than 100.

<h3>What is a while loop?</h3>

A while loop is a control flow statement that enables code to be performed repeatedly depending on a specified Boolean condition in the majority of computer programming languages.

The question is incomplete.

The complete question is:

Write a loop that reads positive integers from standard input, printing out those values that are greater than 100, each on a separate line, The loop terminates when it reads an integer that is not positive.

The code is(follow the same indentation for each line):

while True:

num=int(input())

if num>100:

print (num)

elif num<=0:

break

Thus, the code can be written using a while loop that reads positive integers from standard input, printing out those values that is greater than 100.

Learn more about the while loop here:

brainly.com/question/15172842

#SPJ4

You might be interested in
Given that Marcy worked 42 hours (Hours = 42) last week and earns $10.00 an hour (Rate = 10), how much did Marcy earn last week,
serg [7]

Answer: $420

Explanation: from the question above, mercy worked 42 hours at $10 an hour. Her total pay before tax is: 42 x 10 =

$420

5 0
4 years ago
Someone help me to create book-r-us database design with logical and physical diagram
icang [17]
Hey men, i recommend, not saying that here, do that with a friend or someone but no here aight? <span />
6 0
4 years ago
Many Internet servers have an easy-to-remember name, such as nike. The official term for this name is ____.
san4es73 [151]

Answer:

SSID

Explanation:

i tried

..............

6 0
3 years ago
_______ allows you to specify how a photo is positioned in the text of your document.
Lisa [10]
<span>The answer your looking for is Wrap text!!</span>
5 0
3 years ago
Choose the two (2) statements that are true about functions​
Natalka [10]

Answer:

In the given question statements are missing. So, we assume two true statements. Which can be given as :

  • Function name should be meaning full  
  • Programming features are called programming instruction groupings.

Explanation:

In the programming language, a function is a group of organized code that is used to increases the reusability of the program. In the declaration of the function we should remember two points which is can be described as:

  • function name should be meaning full means is that if we want to print some data in function. So, we write a function name that is matched to its data like message, information, data, etc. these names help another programmer to understand more easily.  
  • In the function, Programming features are called programming instruction groupings.

That's are the statements for function that is described above.

4 0
3 years ago
Other questions:
  • Editing and sorting the data file are steps performed during the ________ stage in the data processing cycle
    5·1 answer
  • Desktop operating systems sometimes are called ______ operating systems because they also work in conjunction with a server oper
    10·1 answer
  • A page can have High needs met rating even if it is not related To the topic of the query​
    9·1 answer
  • THE bestValue PROBLEM Using the Camera structure defined in file p1.cpp, write the function named bestValue(). The function take
    13·1 answer
  • Using computers in place of paper to design components, products, and processes is referred to as ______.
    11·1 answer
  • Which option is the default when creating appointments and meetings in a user’s own calendar as it relates to Free/Busy informat
    8·1 answer
  • 1. Pasar los siguientes ejercicios a diagrama de bloque
    11·1 answer
  • Joe a frequent visitor to a branch office attempts to connect his tablet to the office wireless network but is unable to connect
    14·1 answer
  • Is brainly bugging out rn? <br> The site isnt like loading completely
    5·1 answer
  • Pretend This artwork is titled online hate speech. Now what do you see?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!