> ## Documentation Index
> Fetch the complete documentation index at: https://learn.acadlink.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Relational Operators

> Check whether two numbers are equal, greater, or lesser.

## Problem Statement

Take two integers as input and check whether they are equal, greater, or lesser using relational operators.

## Solution

```c theme={null}
#include <stdio.h>

int main() {
    int a, b;
    scanf("%d %d", &a, &b);
    printf("a == b : %d\n", a == b);
    printf("a >  b : %d\n", a >  b);
    printf("a <  b : %d\n", a <  b);
    return 0;
}
```

## Input

```
5 10
```

## Output

```
a == b : 0
a >  b : 0
a <  b : 1
```
