1 /* program to calculate the ggt of two integers */
3 /* we include headers */
9 /* declaration of variables */
19 printf("never devide through zero, lamer :p\n");
24 while ( zaehler != nenner )
26 if ( zaehler > nenner )
28 zaehler = zaehler - nenner;
32 nenner = nenner - zaehler;
35 printf("ggt = %d\n",zaehler);