CJCoding With Joseph

Read N Values and Find Max

Read an integer N, then read N integers into an array. Print the largest value in this exact format:

Max: [value]

Expected Output:

Max: 15
Topics:
Arrays
๐Ÿ“ฅ Auto-Input:
5\n4 9 2 15 7\n
This input is automatically fed to your program's stdin
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.