- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
package com.company;
import java.util.Scanner;
public class Main {
    public static void main (String [] args) {
         Scanner num = new Scanner(System.in);
         int first;
         System.out.print("Enter first num: ");
         first = num.nextInt();
         if (first==10)
              System.out.print("Num is 10");
}
}
 Follow us!
 Follow us!
Комментарии (2) RSS
Добавить комментарий