Question: If c is a lowercase character, the expression c - 'a' + 'A' produces the uppercase equivalent of c, assuming an ASCII character set. Write
If c is a lowercase character, the expression
c - 'a' + 'A'
produces the uppercase equivalent of c, assuming an ASCII character set.
Write a function in C called uppercase() that converts all lowercase characters in a string into their uppercase equivalents.
Your main program will prompt the user for an input string up to 50 characters. Be clear in your prompts to the user.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
