Skip to content

Latest commit

 

History

History

beginner-series-number-4-cockroach

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
  • Completed at: 2023-07-10T21:15:59.550Z

  • Completed languages: javascript

  • Tags: Fundamentals

  • Rank: 8 kyu

Description

The cockroach is one of the fastest insects. Write a function which takes its speed in km per hour and returns it in cm per second, rounded down to the integer (= floored).

For example:

1.08 --> 30

Note! The input is a Real number (actual type is language dependent) and is >= 0. The result should be an Integer.