compare two integer values
Write function to compare two integer values x and y, the function return integer value as follow:
Return 0 in case x=y
Return 1 in case x>y
Return -1 in case x<y
Write another function to compare two floating-point values.