Create a program to find the smallest and largest elements in a hardcoded array.
EasyProblem Statement
Create a program to find the smallest and largest elements in a hardcoded array.
Sample Input
Array: [4, 1, 7, 3, 9]
Sample Output
Smallest: 1, Largest: 9
Limits
Time: 2s · Memory: 256 MB