...

/

Exercise 3: Convert Miles to Kilometers

Exercise 3: Convert Miles to Kilometers

In this coding challenge, you will write a method in Ruby that takes miles as input and converts it into kilometers.

Problem Statement

Write a method named “miles_to_kilometers” that inputs a number ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy