pgm to determine sign of an integer