Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Task12 {
- public static void main(String[] args) {
- int res = 1;
- int n;
- Scanner in = new Scanner(System.in);
- n = in.nextInt();
- while(res != n){
- res++;
- }
- System.out.println(res);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement