C++ program to perform the relational operations
kw.cpp
Output
kodingwindow@kw:~$ g++ kw.cpp
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to perform the relational operations ——————————————————————————————————————————— Value of a | 0 Value of b | 1 Value of 0!=1 | 1 Value of 0> 1 | 0 Value of 0>=1 | 0 Value of 0==1 | 0 Value of 0< 1 | 1 Value of 0<=1 | 1 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
C++ program to perform the assignment operations
C++ program to perform arithmetic operations by accepting inputs from a user
C++ program to calculate the area and circumference of a circle
Advertisement