Mystery 110314

#include <stdio.h>
#include <stdlib.h>

int max(int a, int b)
{
    if    (a > b)
          return a;
      else
          return b;
}
     void mystery(int a[ ] , int b[ ], int size)
   {
       for( int i = 0; i < size; i++ )
            {
                     a[ i ] = max(a[ i ], b[ i ]);
              }
    int main( )
          {
           int x[ ] = {3, 0, 5, 2, 7};
           int y[ ] = {1, 2, 3, 4, 6};
              mystery(y, x, 5);
           for
               (int j = 0; j < 5; j++)

            {
                 printf("%4d", x[ j ]);
                 printf("\n");
                }


            for( int j = 0; j < 5; j++)
                {
                   printf("%4d", y[ j ]);
                   printf("\n");

                }

    return 0;
}

Buddy make your code readable

@bushwacker , plz explain a little bit abt your problem