Skip to content

HomeWork2#1

Open
MityaTim wants to merge 1 commit intomasterfrom
HW2
Open

HomeWork2#1
MityaTim wants to merge 1 commit intomasterfrom
HW2

Conversation

@MityaTim
Copy link
Owner

No description provided.

} else {
return false;
}
}

Choose a reason for hiding this comment

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

можно без ветвления.
просто return (s >= 10) && (s <= 20)

return true;
} else {
return false;
}

Choose a reason for hiding this comment

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

return a < 0;

Choose a reason for hiding this comment

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

тут ветвления не нужны

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