home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / tcpp / examples / intro6.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-10  |  430 b   |  19 lines

  1. /* INTRO6.C - Beispiel aus Kapitel 4 der
  2.               Einführung */
  3.  
  4. #include <stdio.h>
  5.  
  6. int main()
  7. {
  8.    int i = 101, j = 59, k = 0;
  9.    int m = 70,  n = 85, p = 5;
  10.    int q = 39, r = 110, s = 11;
  11.  
  12.    printf("\tGewonnen\tVerloren\tRemis\n\n");
  13.    printf("Adler\t%3d\t\t%3d\t\t%3d\n", i, j, k);
  14.    printf("Löwen\t%3d\t\t%3d\t\t%3d\n", m, n, p);
  15.    printf("Riesen\t%3d\t\t%3d\t\t%3d\n",  q, r, s);
  16.  
  17.    return 0;
  18. }
  19.