-
Notifications
You must be signed in to change notification settings - Fork 73
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
Реализуйте метод, возвращающий true, если среди четырех его аргументов ровно два истинны #1
Comments
кажется, у меня потом так в итоге и было 🤔 |
Нет, у Вас было так:
Я же предлагаю:
|
окей, спасибо, попробую :) |
public static boolean booleanExpression(boolean a, boolean b, boolean c, boolean d) { |
@andrei-sapeshko, спс друг, ты очень мне помог! |
return ((a ^ b) && (c ^ d)) || ((a ^ c) && (b ^ d)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Может?
The text was updated successfully, but these errors were encountered: