Write a program to find the largest element in an array.
EasyProblem Statement
Write a program to find the largest element in an array.
Sample Input
A hardcoded array, e.g., [10, 20, 5, 30].
Sample Output
The largest element is: 30
Limits
Time: 2s · Memory: 256 MB