Skip to content

Commit 64d7d96

Browse files
author
codehouseindia
authored
Merge pull request codehouseindia#107 from Mathur777/patch-1
printnumber
2 parents d8d4901 + 6204719 commit 64d7d96

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

printnumber

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
public class Printnumber
2+
{
3+
public static void main(String[] args)
4+
{
5+
//print the result
6+
System.out.println("Output is : ");
7+
8+
//loop to print 1 to 10.
9+
for(int i = 1; i <= 10; i++)
10+
{
11+
System.out.println(i);
12+
}
13+
}
14+
}
15+

0 commit comments

Comments
 (0)