Some error occured while loading page for you. Please try again.
You are viewing a single comment's thread. Return to all comments →
Hi manoj when i made this problem i keep in my mind that the value of "num" will not go beyond 127 and when i run it the test cases passed so i did not changed it to "while", but in extended ascii it is upto 255, and in question they are not giving some "chars" which are beyond 127, so you can use "while" to sort this problem.