Okay a part of the program I have to write has to switch "one" lowercase letter and make it uppercase and vice versa. I can't use strings or anything more advanced then a begginers c++. I don't know why, he likes to be a real pain sometimes. The only thing I can think of is 54 if statements.
I've also been told I can do it via ASCII values but I can't seem to figure that out. unless somehow you store the ascii value of every letter but that would be the same amount of work. Any ideas anyone?
if (letter == 'A')
letter = 'a'
if (letter == 'a')
letter = 'A'
Etc..