by CodeChum Admin
The only constant thing in the world is change. That’s why we need to call the toupper() function to change what we already have into a better version.
Instructions:
Input
1. Letter to be updated
#include <stdio.h>
#include "ctype.h"
int main()
{
char ch;
printf("Enter char: ");
ch = getchar();
getchar();
printf("\nUppercase equivalent: %c", toupper(ch));
}
Comments
Leave a comment