| Tags | skill/problem_solving |
| Hard Prerequisites | |
| IMPORTANT: Please review these prerequisites, they include important information that will help you with this content. | |
|
|
Write a function that can take in any number of numbers(integers). It should return the maximum number from those numbers.
Do this without using built-in methods. Write your own logic from scratch.
Again, the function should expect a bunch of numbers as input, not an array or list.
task6([1,2,44,3]) // BAD
task6(1,2,44,3) // GOOD
Example usage:
task5(1,2,44,3) should return 44task5(-1,-2,-44,-3,-5) should return -1task5(8,8,8,8,8,8,8) should return 8