Convert to uppercase using toupper

PHOTO EMBED

Thu Apr 25 2024 05:21:04 GMT+0000 (Coordinated Universal Time)

Saved by @kervinandy123 #c

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

int main() {
    char c1;
    printf("Enter a character:");
    c1=getchar();
    printf("%c", toupper(c1));



    return 0;
}
content_copyCOPY