All challenges
easyarrays 10 XP per passing test

Maximum Element of an Array

Problem

Given an array of integers, write a program to find the maximum element in the array. The input is a single line containing a space-separated list of integers. The output is a single line containing the maximum element in the array.
(run your code to see output)
Advertisement
Sponsored