CJCoding With Joseph

Find Maximum in an Integer Array

An int array is given. Find the largest value in it and print that value.

For the array {12, 5, 19, 3, 8} the program prints:
19

Expected Output:

19
Topics:
Arrays
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (sysout, psvm, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.