« Mathc initiation/Fichiers c : c15f » : différence entre les versions
Contenu supprimé Contenu ajouté
mAucun résumé des modifications |
modification mineure |
||
Ligne 11 :
/* Save as : a06_div.c */
/* ------------------------------ */
#include "
/* ------------------------------ */
#define LOOP 5
Ligne 29 :
printf(" %d \n\n",i);
i =
j =
if(n<loop) printf(" %d / %d (%d) ",i*j,j,n++);
Ligne 42 :
return 0;
}
/* ------------------------------ */
/* ------------------------------ */
</syntaxhighlight>
Ligne 55 ⟶ 57 :
'''Exemple de sortie écran :'''
<syntaxhighlight lang="dos">
division
Ligne 61 ⟶ 65 :
0
Ligne 68 ⟶ 72 :
Press return to continue.
division
59
126 / 6 (2)
Press return to continue.
division
21
375 / 5 (3)
Press return to continue.
division
75
760 / 8 (4)
Press return to continue.
</syntaxhighlight>
|