#include<iostream>
#include<conio.h>
using namespace std;
int main()
{ float miles,km;
cout<<"enter the value in miles to convert in km:"<<endl;
cin>>miles;
km=miles*1.609;
cout<<miles<<" miles = "<<km<<" kilometer";
getch();
}
No comments:
Post a Comment