CJCoding With Joseph

Largest Element in an Array

Given the array { 3, 7, 2, 9, 4 }, use a loop to find the largest value and print it:

9

Expected Output:

9
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.