1
Answer

compare two integer values

Ask a question
ahmed sami

ahmed sami

11y
1.8k
1
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)