Working with arrays
Given a comma-separated list of integers, find and print the largest one.
Input: 3,1,4,1,5,9,2,6
Output: 9
Constraints
- Do not use a built-in max function — track it with a variable.
- Assume at least one number is provided.
Ad SpaceGoogle AdSense active for guests & free-tier learners.