Skip to content

Commit

Permalink
Update prints number from 1 to 50
Browse files Browse the repository at this point in the history
code cleanup
  • Loading branch information
chinmaykulkarni11 authored Oct 5, 2022
1 parent 3810a4e commit fd0e420
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Java/prints number from 1 to 50
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
public class lab3_task1 {
public static void main(String[] args) {
int i;

System.out.println("The numbers from 1 to 50 :");
for(i=1;i<=50;i++){
for(int i=1;i<=50;i++){
System.out.println(i);
}
}
Expand Down

0 comments on commit fd0e420

Please sign in to comment.