10 < 20 is true
20 < 10 is false
Operator | Meaning |
---|---|
< | is less than |
<= | is less than or equal to |
> | is greater than |
>= | is greater than or equal |
== | is equal to |
!= | is not equal to |
#include<stdio.h>
#include<conio.h>
int main(){
int m=40,n=20;
if(m==n){
printf(“m & n are equal”);
}
else{
printf(“m & n are not equal”);
}
}
m & n are not equal