Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- double km, miles;
- cout << "Write length in miles: ";
- cin >> miles;
- km = miles * 1.609;
- cout << "Length in km: " << km;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment