Advertisement

HOW TO CHANGE LOWERCASE CHARACTER TO UPPERCASR CHARACTER LIKE THIS b --> B



 //  HOW TO CHANGE LOWERCASE CHARACTER TO UPPERCASR CHARACTER 

// LIKE THIS b --> B


#include<stdio.h>
#include<ctype.h>

int main()
{    char lower , upper;
    printf("enter a lower case character \n");
    lower = getchar();
    upper = toupper(lower);
    printf("upper case character is  ");
    putchar(upper);
    
    return 0;
}

OUTPUT :

enter a lower case character b upper case character is B



Our youtube channel link :    https://www.youtube.com/channel/UCvEI4tHm59GRCIsoKq57DOA

Our facebook  page  link :  https://www.facebook.com/harryscode87

Our instagram page link : https://www.instagram.com/harrys_code/


















Post a Comment

0 Comments