answersLogoWhite

0

I believe characters have a toUpper() function. For example:

char x = 'a';

printf("%c\n", x.toUpper()); // This should print "A"

You could also add or subtract using ascii values - remember, a char is pretty much an integer, just displayed differently. For example:

printf("Character %c = decimal %d\n", x, x);

will display your character and its ascii integer equivalent.

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

How do you convert uppper case character to lower case in easytrieve?

There are a couple of different ways to convert upper case characters to lower case in easytrieve. One is to use the INSPECT/CONVERTING command.


What does case sensitive imply in a programming language?

"Case sensitive" means that, for example, myvariable, MyVariable, and myvAriAble are three separate things. In other words, upper case or lower case matters.


What comes next in the sequence AA xd ug?

Not sure how the upper case and lower case letters interact. If that can be ignored then rj.Not sure how the upper case and lower case letters interact. If that can be ignored then rj.Not sure how the upper case and lower case letters interact. If that can be ignored then rj.Not sure how the upper case and lower case letters interact. If that can be ignored then rj.


Were roman sculptures carved in upper or lower case?

upper case


Which case is case sensitive upper case or lower case?

Both. "Case sensitive" means that upper case and lower case characters are treated as different characters.


Lower to upper case?

Use the UPPER function


Example og upper and lower case password?

THIS IS UPPER CASE & this is lower case. So it is basically CAPITAL and small letters.


Is the first letter of a chemical symbol always upper case or lower case?

upper case


What is the origin of English upper case?

Upper and lower case came from when everything used to be printed by hand. The letters would be inside of a brief case. The upper case would be kept on the top of the case and the lower case on the bottom.


How do you Change a text from lower to upper case?

To change text from lower case to upper case, you can use various methods depending on the application. In word processors like Microsoft Word, you can highlight the text and use the "Change Case" feature (often found under the Format menu or as a shortcut like Shift + F3). In programming languages like Python, you can use the .upper() method on a string. For online tools, simply paste the text into a case converter and select the option to convert to upper case.


Upper case or lower case for the four seasons?

no.


What are the letters in the alphabet lower case and upper case?

abcdefghijklmnopqrstuvwxyz <----lower case. ABCDEFGHIJKLMNOPQRSTUVWXYZ <---uppercase.