Skip to content

Conversation

@anAstyQ
Copy link

@anAstyQ anAstyQ commented Nov 26, 2016

easy

@xSAVIKx xSAVIKx self-assigned this Nov 26, 2016
Copy link
Member

@xSAVIKx xSAVIKx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have 6 failed tests. Looks like it's not so easy.
Please submit your tasks only if your solutions passed all tests or you need any assistance.

break;
}
case "exit" : {
System.out.println("bye-bye!");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should return Bye-bye to pass the test.

ch = phrase.charAt(i);
if(ch == '?'){
reply = "Yeap.";
} else if(ch == '!'){
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not correct case for yelling. Check the test cases and determine what should be in the phrase for each type of answer.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants