← All problemsSign in

MAX3

WAP to find largest among three decimal numbers ###Input: - it should take 3 inputs only ###Output: - should display largest number only ###Sample Input: -4.5 3.9 5.6 ###Sample Output: 5.60 ###EXPLANATION: as we can see 5.6 is the largest number note- there should not be more than 2 number after the decimal

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start