ahmed sami

ahmed sami

  • NA
  • 64
  • 200.6k

compare two integer values

Dec 1 2012 12:24 PM
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.


Answers (1)