By pressing the code button above the text box where you enter your code will display as I have made it appear in your post above.
Please explain your urgency? Nothing around this forum is typically urgent, and if it were, you should be asking someone for help face to face. People around here are typically pretty prompt, but they are mostly volunteers, and will provide solutions as they have time.
You definition of max is based in an unfounded assumption.
You code does not return the proper result for the sample input.