netx_iit

Use of relational operator

Jul 29th, 2020 (edited)
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. /* Example of Relational operato*/
  2. #include<stdio.h>
  3. #include<conio.h>
  4. int main()
  5. {
  6.     int no1,no2;
  7.     printf("\nEnter two numbers=");
  8.     scanf("%d %d",&no1,&no2);
  9.     if(no1>=no2)
  10.     {
  11.         printf("\n No1 is greterthan and equal no2");
  12.     }
  13.     else
  14.     {
  15.         printf("\n  No1 is not greterthan and equal no2");
  16.     }
  17.     return 0;
  18. }
Add Comment
Please, Sign In to add comment