Laboratoire 11

profThiernesse
594 views
undefined

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Exercice 3

Calcul d'un inverse modulaire d'un nombre

Ressource sur l'inverse modulaire

NOTE : il ne faut pas modifier les lignes de saisie et d'affichage.

Trouver l'inverse modulaire
#include <stdio.h>
#include <stdlib.h>
int main() {
int a, n,inv;
scanf("%d",&a);
scanf("%d",&n);
//Ajouter votre code ici
/* si inverse possible
printf("%d\n",inv);
si inverse pas possible
printf("pas d'inverse possible\n");
*/
return 0;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content