Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool && (bool cond1, bool cond2) {
- if (!cond1) {
- return false;
- }
- else {
- return true;
- }
- }
- int & (int cond1, cond2) {
- return cond1 & cond2;
- }
- bool & (bool cond1, bool cond2) {
- if (!cond1) {
- if (!cond2) {
- return false;
- }
- else {
- return false;
- }
- }
- if (cond1) {
- if (!cond2) {
- return false;
- }
- else {
- return true;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement