Commit 9860b79
committed
feat: Print "Java" 10 times using a for loop
✅ Logic:
- Uses a for loop to iterate from 1 to 10
- Prints "Java" with the current counter on each iteration.
Signed-off-by: Somesh diwan <[email protected]>1 parent b907bc0 commit 9860b79
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
5 | 3 | | |
6 | 4 | | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
0 commit comments