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 Réponse
+ 5
Just a typo, change your last line to console.log(distance);
29th Aug 2021, 7:22 PM
Tim
Tim - avatar
Aujourd'hui en vedette
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes