Challenge: Calculating the Speed of a Car
Swipe to start coding
You're helping to create a speed detector for highway patrol! The detector works by measuring how far a car travels and how long it takes. Your job is to calculate the car's speed based on this data.
A car passes the speed detector and is recorded traveling a distance of 100 meters in 5 seconds.
Calculate and output its speed display the result in the console. The speed can be calculated by dividing the amount of distance covered by the time taken to cover that distance.

Solução
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Incrível!
Completion taxa melhorada para 1.33
Challenge: Calculating the Speed of a Car
Deslize para mostrar o menu
Swipe to start coding
You're helping to create a speed detector for highway patrol! The detector works by measuring how far a car travels and how long it takes. Your job is to calculate the car's speed based on this data.
A car passes the speed detector and is recorded traveling a distance of 100 meters in 5 seconds.
Calculate and output its speed display the result in the console. The speed can be calculated by dividing the amount of distance covered by the time taken to cover that distance.

Solução
Obrigado pelo seu feedback!
single