isupper - Find whether the given character is uppercase or not in C


#include<stdio.h>
#include<ctype.h>
int main()
{
    char a;
    scanf( "%c", &a );
    if( isupper(a) )
        printf( "This is a Upper Case character: %c\n", a );
    else
        printf( "This is NOT a Upper Case character: %c\n", a );
    return 0;
}