Code is working fine but not for the negative numbers. I think int take both positive and negative number. Any suggestions...