#include <stdio.h>
int main() {
int x;
float inverse;
printf("Entrer un entier\n");
scanf("%d",&x);
inverse = 1.0 / x;
printf("l'inverse de %d est de %.2f",x,inverse);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: