Skip to content

Commit

Permalink
Even Numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
SE-MahmoudAbdelaal committed May 24, 2024
1 parent 19491aa commit f4618c2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CodeForces/Sheet #2 (Loops)/B. Even Numbers/Solution.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import java.util.Scanner;

/**
* Solution
*/
public class Solution {

public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
int iterateNumber=scanner.nextInt();
for (int i = 1; i <= iterateNumber; i++) {
System.out.println(i);

}
}
}

0 comments on commit f4618c2

Please sign in to comment.