Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Task - Calculate the Speed of a Car | Getting Started
Introduction to JavaScript
course content

Зміст курсу

Introduction to JavaScript

Introduction to JavaScript

1. Getting Started
2. Manipulating Data
3. Conditional Statements

book
Task - Calculate 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.

Your task is to 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.

python

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 6
toggle bottom row

book
Task - Calculate 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.

Your task is to 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.

python

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 6
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Ми дуже хвилюємося, що щось пішло не так. Що трапилося?
some-alt