Jack goes to rapture

problem link


solution link

plz tell why this code is not getting submit and correct the code as well…along with explaination…

plz reply to this doubt as soon as possible…

why is no one responding to this doubt…plz reply