In this method I have used the "while" cycle to find the maximum element of a given array (here we operate under the presumption that the array itself is not empty). The input part is quite simple: the user first writes the amount of elements on the first row and then on the second one writes the elements themselves (with spaces between them) I should note that the formulation of the first task led me to believe I already had to make the code accept input from the user so step 9 is already fulfilled