// provare a usare float al posto di double

#include <stdio.h>

int main() {
    double u = 7, v = 3;
    double d = u / v;     

    printf("divisione tra %.1f e %.1f è uguale a %.3f",u,v,d);
}

Embed on website

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