When I input for example 10 and 4 it just return 2.00 instead of 2.50.
here is my function call in the main:
printf("\nQuotient = %.2f", quot(num1, num2));
Here is my user defined function that computes the quotient of two numbers x and y:
float quot(int x, int y){
    float quotient;
    if(x > y){
        quotient = x / y;
    }
    else{
        quotient = y / x;
    }
    return quotient;
}
 
    