Write a program to read a character and print it in reverse case.
Do we have to use ascii code in this question? is there another way of doing it without using ascii?
Write a program to read a character and print it in reverse case.
Do we have to use ascii code in this question? is there another way of doing it without using ascii?
i've seen in a FAQ, they've used toupper to do it. i don't want to use toupper. i just want a simple way to do it. thx
Last edited by nightingale; 07-25-2003 at 11:36 AM.
Can't understand
How much simpler than toupper() do you want?
Besides, quick math tricks assume that ASCII is your character set.
i don't wanna use toupper coz i haven't used it before n hence i should not/ can't use it.
Last edited by nightingale; 07-25-2003 at 11:36 AM.
If you don't want to use toupper(), work with the integral value of each character.
Loading.....
( Trying to be a good C Programmer )
thx a lot to all of u for ur help