123456789101112131415161718192021222324 |
- /**
- * Created by iyasuwatts on 10/17/17.
- */
- import java.util.*;
- public class Main {
-
-
- public static void main(String[] args){
- int total;
- Scanner input = new Scanner(System.in);
- System.out.println("Please input a number and it we will add 1 to it.");
- String number = input.next();
- int n = Integer.parseInt(number);
-
- total = n + 1;
-
- System.out.println(total);
- }
-
- }
-
-
-
|