Program to understand the use of relational operators | Relational operators in C | Examples of Relational operators by Venkatesh Macha · Published June 3, 2014 · Updated February 27, 2017 Spread the love Program : #include<stdio.h> int main(void) { int a,b ; printf(“Enter values for a and b : “); scanf(“%d%d”,&a,&b); if(a<b) printf(“%d is less than %dn“,a,b); if(a<=b) printf(“%d is less than or equal to %dn“,a,b); if(a==b) printf(“%d is equal to %dn“,a,b); if(a!=b) printf(“%d is not equal to %dn“,a,b); if(a>b) printf(“%d is greater than %dn“,a,b); if(a>=b) printf(“%d is greater than or equal to %dn“,a,b); return 0; } Output : Enter values for a and b : 20 1020 is not equal to 1020 is greater than 10 20 is greater than or equal to 10 Related programs :program to understand Prefix and postfix Increment.C program to find quadratic equation roots.program to understand Floating point Arithmetic’s.implementation of power function.

2 Adding Opus Codec to PJSIP | How to add new codec to pjsip September 3, 2014 by Venkatesh Macha · Published September 3, 2014

0 write a program to Add two integers given at command line | Command line Programs in C language April 1, 2014 by Venkatesh Macha · Published April 1, 2014 · Last modified February 27, 2017

0 C Program to find sum of the Digits of a Number | Sum of Digits program in C February 15, 2014 by Venkatesh Macha · Published February 15, 2014 · Last modified February 27, 2017