sandra0309

audi4.vezba7

Jan 17th, 2015
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include<stdio.h>
  2. int main ()
  3. { int maxi=0,n;
  4.  
  5.  while(scanf("%d",&n))
  6.  {
  7.    if(n<100)
  8.    {
  9.     if(n>maxi)
  10.     {
  11.         maxi=n;
  12.     }
  13.  
  14.  
  15.    }
  16.  
  17.    }
  18.  
  19.  
  20.  
  21.  printf("%d",maxi);
  22.  
  23.  
  24.  
  25. return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment