Computer Science, asked by santoshmsr03, 1 year ago

Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10​

Answers

Answered by avengers13
1

class prog

{

public static void main()

{

int i;

for(i=1;i<=10;i++)

{

System.out.print(i);

}

System.out.println();

}

}

Similar questions