CJCoding With Joseph

Find the Largest Element

An array nums has been created with the values {10, 40, 20, 50, 30}. Find the largest value and print it in this exact format:

Largest: 50

Expected Output:

Largest: 50
Topics:
Arrays
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.