Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

03 03b#14

Open
Erdenebulgan19 wants to merge 13 commits into
master from
03_03b
Open

03 03b #14
Erdenebulgan19 wants to merge 13 commits into
master from
03_03b

Conversation

@Erdenebulgan19

@Erdenebulgan19 Erdenebulgan19 commented Jun 21, 2020

Copy link
Copy Markdown

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" );
}
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /