← All problemsSign in

The Temperature

Sound can be used to find temperature. This method is used in harsh environments where conventional temperature probes might not survive. Taking time and distance as inputs, calculate the temperature. Note: First input is time in seconds and the second input is distance in meters. The output is temperature in Celsius ###Sample input: 0.05 17.6 ###Sample output: 35 #### Not

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