#include <stdio.h>

double A_linear_equation(int A,int B){
    double x = 0.0;
    x = (-B)/A;
    return x;
}

int main() {
    
    printf("%f\n",A_linear_equation(4,-12) );
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: