voltage1958 voltage1958
  • 10-04-2024
  • Computers and Technology
contestada

Write an application that displays all even numbers from 2 to 100 inclusive, and that starts a new line after every multiple of 20 (20, 40,60, and 80).
public class even_no {
public static void main( String args[])
{
int x=2;
for(x=2;x<=100;x+=2)
{
System.out.println(x);
}

Respuesta :

Otras preguntas

2. K2SO4 + NaOH what comes next ?
Where has Douglass completed most of his work?
Think about how could you design, build, and test a light maze. What specific behavior of light will be essential to the success of your design It is due today
I really need help on this :(
Which dynasty did a lot of inventing?
¿Cuánto cuestan? Tienes que hacer un proyecto para tu clase de economía. Con otrola) estudiante, habla de cuántos pesos cuesta cada producto en un centro comerc
The United States ranks 3rd in the world for... mining tourism commercial fishing. manufacturing
solve -5 (w - 4 ) < -5w - 15 a. no solutions b. w < 5 c. w > 15 d. all real numbers are solutions
Words are the most basic tool of the writer, therefore, an author's word choice is worth analyzing.a. trueb. false
five more than one third of a number is nine .