Max value in array

What is the error in code

@Pritam the given program need a user input but you’re restricting your program into ten no of element the first line of input is missing so you should make this program as according to problem constraints size.