tonymitau tonymitau
  • 15-06-2021
  • Computers and Technology
contestada

Write a Program that will print all the numbers divisible by 2 between 0 and 100​

Respuesta :

klekaelly
klekaelly klekaelly
  • 15-06-2021

Answer:

//In java

for (int i = 0; i <= 100; i++)

{

if ( i % 2 == 0 )

{

System.out.println( i + " ");

}

}

Answer Link

Otras preguntas

Why might have many U.S. Congressmen disliked Franklin D. Roosevelt's Quarantine Speech of 1937?
undissolved solid particles could best be separated from a solution by
Read the phrase from the passage and answer the question that follows: He must have tried it a hundred times, shut his eyes so that he wouldn't have to look at
Jamal watched his older brother Robert lift weights. The bar alone had a mass of 20 kg. on the bar he had two 11.4 weights, two 4.5 kg weights, and four 450 g
A topographic map would be most useful for which activity? A. finding the average precipitation in your city B. determining the highest temperature in your st
Critics thought that many officials appointed by political machines were A.qualified and honest. B.experienced and trustworthy. C.unqualified and corrupt. D.ine
Solve for x:[tex] \sqrt{6x+4}=7 [/tex]Show steps please
In the 1850s, who proposed a compromise for California to join the Union as a free state?
what is the first modern decade?
In the early year of the twentieth century, the majority of female workers employed outside of the home were widowed divorced married with young children marrie