Computer Science, asked by herenadayo, 9 months ago

Write a Java program that prints out all of the numbers from 1 to 100. The program should use a while or for the statement. ( without FizzBuzz)

Answers

Answered by Rahul9048
0

public class Number {

public static void main( String[] args ) {

for ( int i = 1; i<= 100; i++) {

System.out.println(i);

}

 }

     }

Similar questions