Home
Topics
Practice
Roadmap
DSA Tracker
Code Editor
Tech Blogs
More
Sign in
Get started
Loading question...
Feedback
Find Maximum of Three Numbers
Easy
00:00
0 users online
Share
Description
Solution
Submissions
Discussion
Write a function that takes three numbers and returns the maximum.
Sample Input:
[5, 8, 3]
Sample Output:
8
Hints
Hint 1
You can use Math.max() function
Hint 2
Or use conditional statements to compare
Hint 3
Consider all three numbers in your comparison
Code Editor
Reset
Run
Save
Loading...