Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

Link zu dieser Vergleichsansicht

tux:forschleife [2011/11/21 14:49]
wikisysop
tux:forschleife [2011/12/08 21:43] (aktuell)
wikisysop
Zeile 6: Zeile 6:
 <code c| 1x1.c ⇒ Das kleine 1x1 in C>#​include <​stdio.h>​ <code c| 1x1.c ⇒ Das kleine 1x1 in C>#​include <​stdio.h>​
  
-int main() +int main() {
-{+
 int i, j; int i, j;
  
-  for (i = 1; i <= 10; i++)+  for(i = 1; i <= 10; i++)
     {  ​     {  ​
-       ​printf ("​\n"​);​ +       ​printf("​\n"​);​ 
-       for (j = 1; j <= 10; j++)+       for(j = 1; j <= 10; j++)
          {          {
-            printf ("​%4d",​ i * j);+            printf("​%4d",​ i * j);
          }          }
     }     }
-  printf ("​\n\n"​);​+  printf("​\n\n"​);​
   return 0;   return 0;
 }</​code>​ }</​code>​
tux/forschleife.1321883341.txt.gz (16731 views) · Zuletzt geändert: 2011/11/21 14:49 von wikisysop
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0