Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 364 Bytes

File metadata and controls

21 lines (16 loc) · 364 Bytes

Name:

Unit Conversions (2 options)

Examples:

println(convertmeterstomiles(10)), 10 meters = 6250 miles; println(convertinchestokm(10)), 10 inches = 5.206 x 10^-5 km

Description:

Converts inches to kilometers and meters to miles

Syntax:

(x, y)

##Parameters: x = inputted x value y = inputted y value

##Returns: Float

##Other notes: Anything else?