logical-operations tag

2 questions


1 answers
90 views
0
I'm practicing logic operators, but I don't know the answer ㅜ.ㅜ..

public class LogicalOperatorExam{ public boolean isAgeDiscountable(int age){ boolean isDiscount = false; //Please correct the line below here. if( ________ ) { isDiscount = true; } else{ isDisc...

1 years ago

1 answers
61 views
0
C++ Logical Operations Questions

#include <iostream>using namespace std;int main(){ char id[6] = apple; if (id == apple) { cout << True; } else { cout << False; } return 0;}== among operators is an operator that c...


© 2024 OneMinuteCode. All rights reserved.