Check whether a number is divisible by 3 and 7 or not with C language

#include <stdio.h>

int main()
{
    int number;

    printf("Enter any number: ");

    scanf("%d", &number);
    if ((number % 3 == 0) && (number % 7 == 0))
    {
        printf("Number is divisible by 3 and 7");
    }
    else
    {
        printf("The Number is not divisible by 3 and 7");
    }
    return 0;
}

Output:-

Enter any number: 21

The number is divisible by 3 and 7