Object Oriented Progamming C++ Lecture 4
Object Oriented Progamming C++ Lecture 4
int main() {
int a, b;
a = 7;
b = 2;
}
OPERATORS IN C++
C++ ASSIGNMENT OPERATORS
main() { cout << "3 < 5 is " << result << endl;
bool result; cout << "3 <= 5 is " << result << endl;
using namespace std; cout << "(3 != 5) || (3 < 5) is " << result << endl;
bool result; cout << "(3 != 5) || (3 > 5) is " << result << endl;