Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10
Answers
Answered by
1
class prog
{
public static void main()
{
int i;
for(i=1;i<=10;i++)
{
System.out.print(i);
}
System.out.println();
}
}
Similar questions