HELP!
Debug this code to compute the distance a sound has traveled.

/*
Sound travels approximately one mile every 4.689 seconds.
This function calculates how far sound has traveled given a number of seconds.
*/
function distanceOfSoundAfter() {
return seconds / 4.689; //return number of miles
}

//These are the distances we need to log
log(distanceOfSoundAfter(5));
log(distanceOfSoundAfter(8));
log(distanceOfSoundAfter(17));



Answer :

Other Questions