here is my code β> https://ide.codingblocks.com/s/450410
Why can i not solve in this way?
@chandreshmaurya you have defined A,a,Z,z as char variable they canβt be used as actual character like βAβ, while comparing use characters with quotes like if(ch>=βAβ and ch<=βZβ) and so.
sir, here is said that donβt use ascii code. is it right to solve with this method ?
yes we are directly using characters not their ascii codes so this is right method.