#include <stdio.h>
#include <ctype.h>
int main()
{
    char ch;
    printf("enter a character: ");
    scanf("%c",&ch);
    printf("\nupper case: %c and lower case: %c",toupper(ch),tolower(ch));
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: