SOURCE CODE OUTPUT
#include<iostream>
using namespace std;
int main()
{
float kilomet,mile;
cout<<"Enter kilometers ";
cin>>kilomet;
mile=kilomet*.62137;
cout<<kilomet<<" kilometers = "<<mile<<" miles";
return 0;
}
using namespace std;
int main()
{
float kilomet,mile;
cout<<"Enter kilometers ";
cin>>kilomet;
mile=kilomet*.62137;
cout<<kilomet<<" kilometers = "<<mile<<" miles";
return 0;
}
Any questions regarding to program please write in comments.
No comments:
Post a Comment