Skip to content

solution Hw-1.2#172

Open
RomanHreits wants to merge 3 commits into
mate-academy:masterfrom
RomanHreits:hw-1.2
Open

solution Hw-1.2#172
RomanHreits wants to merge 3 commits into
mate-academy:masterfrom
RomanHreits:hw-1.2

Conversation

@RomanHreits

Copy link
Copy Markdown

No description provided.

*/
public boolean booleanExpression(boolean a, boolean b, boolean c, boolean d) {
return false;
int countTrue = 0;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

it's a bit too complicated, try to solve it using just logic operators &&, ||, ^ (XOR)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

done

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