All pastes #40723 Raw Edit

Mine

public text v1 · immutable
#40723 ·published 2006-02-08 13:54 UTC
rendered paste body
#include<stdio.h>
#include<math.h>

int main()
{
          long int max;
          long int dup;
          scanf("%ld",&dup);
          max = dup;
          while(dup != EOF)
          {
                     scanf("%ld",&dup);
                     if(dup>max)
                     {
                                max=dup;
                     }
          }
                                printf("%ld\n",max);
                                return 0;
                          
}