Advertisement
knyazer

Untitled

Dec 8th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. Scanner sc = new Scanner(System.in);
  2. int n = sc.nextInt();
  3.  
  4. int[] arr = new int[n];
  5.  
  6. for (int i = 0; i < n; i++)
  7. arr[i] = i * 3 + 2;
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement