Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marit Kristine Moe #97

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Marit Kristine Moe #97

wants to merge 1 commit into from

Conversation

maritmoe
Copy link

No description provided.


// 10. Use a conditional statement to return true if the provided string contains the word
// "milk", or false if not
// https://www.w3schools.com/java/java_ref_string.asp
public boolean ten(String sentence) {
return false;
return sentence.contains("milk");
Copy link

@adam-searle adam-searle Jan 11, 2024

Choose a reason for hiding this comment

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

technically not considered a conditional statement . But works.

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