Guest User

Untitled

a guest
Mar 23rd, 2018
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. class Main {
  4. public static void main(String[] args) {
  5.  
  6. Scanner sc = new Scanner(System.in);
  7. int N = sc.nextInt();
  8. for(int i =1; i<=N;i++) {
  9. System.out.println(i);
  10. }
  11. }
  12. }
Add Comment
Please, Sign In to add comment