Maximum with a function
Easy๐ท๏ธ Functions๐ Functions & Decomposition
๐งฉ The problem
Write FUNCTION MAX2(A, B) that RETURNs the larger value. Then TAKE two numbers and DISPLAY MAX2 of them.
Examples
Input: 4, 9 โ 9
โ๏ธ Write your pseudocode
Press Run to watch it step by step, and Run tests to check it against every test case.