how come i missed the simplest input...
thnx again [ u must b wonderin y im thankin u so much ..coz u r da first
person to reply my post , i didnt get any reply for my previous 2 posts ]
bcoz main() itself is a function and every function got a prototype and a return type. i have written 'int main()' which means main is a function which returns any integer at the end of the function.so u can return any int at the end of ur code.as u can also write 'return 2' or 'return 0' or ...
i have solved this problem taking help from the VIJAY's code .but im gettin WA,even though my code is giving correct output. i have also checked my code with the test inpu/outout [Jemerson] and my code is givin correct output.plz some one help me find out the wrong part.here is my code: