For programmers, testers and tech geeks

Convert Miles into Kilometer using C++

#include<iostream>
#include<conio.h>
using namespace std;
void main()
{
   float x,m;
   const float k=1.609;
   cout<<"Enter the value in Miles =";
   cin>>x;
   m=x*k;
   cout<<"Miles ="<<m << "kilometer";
   getch();
}