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.


Were roman sculptures carved in upper or lower case?

upper case


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.


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.


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.


How many bits it will take to represent the upper case and lower case alphabet?

Each letter of the alphabet, whether upper case or lower case, can be represented with 7 bits.