learning-java-2825378 icon indicating copy to clipboard operation
learning-java-2825378 copied to clipboard

03 03b

Open Erdenebulgan19 opened this issue 6 years ago • 0 comments

package com.company; import java.util.Scanner;

public class Main {

public static void main(String[] args) {
System.out.println("Pick a number between 1 and 10 ");
Scanner scanner = new Scanner(System.in);
int inputtedNum =scanner.nextInt();
if (inputtedNum < 5 ) {
	System.out.println("Enjoy the good luck a friend brings you ");
} else {
	System.out.println( "Your shoe selection will make you very happy today" );
}
}

}

Erdenebulgan19 avatar Jun 21 '20 00:06 Erdenebulgan19