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
0
public class Number {
public static void main( String[] args ) {
for ( int i = 1; i<= 100; i++) {
System.out.println(i);
}
}
}
Similar questions