0

The speed of sound in air is about 343 meters persecond.Create a code that calculates the distance in 600 seconds

var sound = 343; var seconds = 600; var distance = seconds * sound; console.long(distance); what's wrong with my code?

29th Aug 2021, 7:19 PM
rozh
rozh - avatar
1 Antwort
+ 5
Just a typo, change your last line to console.log(distance);
29th Aug 2021, 7:22 PM
Tim
Tim - avatar