java program to print no. 1 to 100 using while loop
Answers
Answered by
0
Answer:
public class DisplayNumbers
{
public static void main(String args[])
{
int number=100;
for (int i=1; i<=number; i++)
{
System.out.print(i + " ");
}
}
}
Explanation:
Similar questions
Geography,
2 months ago
English,
2 months ago
India Languages,
2 months ago
Math,
11 months ago
History,
11 months ago