Any character is entered through the keyboard, write a C program to determine whether the character entered is a capital…