Home
/
Programs
/
>= Relational Operators in C, Checks if the value of left operand is greater than or equal to the value of right operand. If yes, then the condition becomes true.
Programming Example
>= Relational Operators in C, Checks if the value of left operand is greater than or equal to the value of right operand. If yes, then the condition becomes true.
Study this program carefully to understand the logic, output, and explanation in a structured way.
#include"stdio.h"
void main()
{
int a = 61;
int b = 15;
if ( a >= b ) {
printf("a is either grater than or equal to b\n" );
}
else
{
printf("a is not greter than or equal to b \n");
}
}
a is either grater than or equal to b
Press any key to continue . . .