Module: Subroutines: procedures and functions - 2


Problem

5/10

Maximum of three numbers

Problem

Write a function that computes the maximum of two numbers. Using this function, write a function that finds the maximum of three numbers.

Input: three integers on three lines.
Output: The program should display the maximum of the received numbers.

Example.
Input Output
1
2
3
3