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
English,
4 months ago
Math,
4 months ago
Hindi,
9 months ago
CBSE BOARD XII,
1 year ago
Math,
1 year ago