owenminney8023 owenminney8023
  • 12-02-2020
  • Mathematics
contestada

Write a loop that reads positive integers from standard input

Respuesta :

fahadisahadam
fahadisahadam fahadisahadam
  • 12-02-2020

Definitely the question is incomplete

Using for loop in java to print positive integers ,let say first 50 integers

So the loop is:

int i ;

for( i= 0; i<= 50; i++ ) {

print (i);

}

The looping will going to start from the 1 and stop to 50

Answer Link

Otras preguntas

who is elon musk......​
14+y = 3y+2, Find y with a step-by-step explanation.
Identify the essential element missing from the following topic sentence. Giving holiday gifts can be expensive! O A. controlling idea O C. concluding idea
Which propaganda technique promotes the idea that a belief or course of action is popular? O bandwagon O name-calling O repetition scapegoating
Statistics questions
Question 9 ONLY!!! Please show work!!
Part 2. May someone review my grammar to see if it’s good, I’ll be so happy, thank you! :)
Many people (become) ___________ homeless after the earthquake in Haiti a few months ago.
The value of x is A.10. B.2. C.20. D.4. Pls help me I can’t get this pls
Why was the restoration period named the way it was? What was restored?