<?php
echo convertKilometersToMiles(56)."\n";
echo convertMilesToKilometers(265.56)."\n";

function convertKilometersToMiles($km){
$mile = 0.621371;
return $km * $mile;
}

function convertMilesToKilometers($miles){
$one_miles = 0.621371;
return $miles * $one_miles;
}
by ვაჟა ტყემალაძე
2 years ago
PHP
Problem Solving
php
Note
Problem
0
Pro tip: use ```triple backticks around text``` to write in code fences