Sign in to run tests against edge cases and save your code automatically.
Problem Description
Medium
Find Maximum of 5 Numbers
Loops
Selection
Write a program that prompts the user to enter 5 positive numbers one by one. The program should evaluate them sequentially and output the largest number entered.
Example Input
1
5
2
9
3
Example Output
9
Success Rate:
0% (0 passed / 0 attempted)
Code
Draft auto-saved
Test Results
Click "Test Code" to evaluate your code against the tests.