#include #include float somme(float x, float y); float inverse(int i); int main () { int a,b; do { system("cls"); printf("Entrez deux entiers a et b :\n"); scanf("%d",&a); scanf("%d",&b); }while(a == 0 || b == 0); printf("%.5f\n",somme(inverse(a),inverse(b))); printf("\n\n"); system("PAUSE"); return 0; } float inverse(int i) { float j; j=(float)1/i; return j; } float somme(float x, float y) { float z; z=x+y; return z; }