Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool majority(bool a, bool b, bool c){
- return ((a==b&&b==true) || (a==c && c==true) || (b==c && c==true)) ? true : false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement