> ## 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.

# Even or Odd

> Check whether a number is even or odd.

## Problem Statement

Write a C program that takes an integer as input and checks whether it is even or odd.

## Solution

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

int main() {
    int n;
    scanf("%d", &n);
    if (n % 2 == 0)
        printf("Even\n");
    else
        printf("Odd\n");
    return 0;
}
```

## Input

```
7
```

## Output

```
Odd
```
