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

Robert Hook's discovery helped scientists learn more about _____.
What is the Meaning of MAPEH?
how to factor the trinomial 3 x^{2} + 8 -3
Is 1/2 equivalent to 7/12
Write 4 7/16 as an equivalent decimal.
What is the Meaning of MAPEH?
I need some really interesting facts about Pumice and Sandstone
Which of the following is the equation of a line parallel to the line y=3x+2, passing through the point (10,1)? A. 3x - y=29 B. 3x + y=29 C. -3x-y=29 D. 3x + y=
Write the equation of a sinusoidal function that rises from a minimum point at (-2,-1) to a maximum point at (3,9).Please explain:)
What are the zeros of 7x^2 -- 144 = --x^4  please give an explanation and show the work. thank you!
good job