Find max array(((((((())))))))))))

one test case if failing

at line no 9 you are declaring max = a[0] but array is not taken yet from user

so first take input in array and then only assign value to max

modified Code