daily pastebin goal
91%
SHARE
TWEET

Untitled

a guest Mar 8th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //(c) Thomas Soo
  2.  
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5.  
  6. int main()
  7. {
  8.     int alter[5][5],i=1,j=1, minalter;
  9.  
  10.     printf("Bitte geben Sie nun insgesamt fuenf Altersangaben ein.\n");
  11.     printf("Am Ende wird das juengste Alter ausgegeben.\n");
  12.  
  13.     while(i<=5){
  14.     printf("Alter %i eingeben:", i);
  15.     scanf("%i", &alter[i]);
  16.     alter[j++];
  17.     i++;
  18.     }
  19.  
  20.     printf("Das juengste Alter betraegt: %i", minalter);
  21.     return 0;
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top