Meter to Kilometer C++

//convert M to Km //Giame Fajardo #include <iostream> using namespace std; main(){ float DisMet, DisKil; cout<<"///////KILOMETER TO METERS\\\\\\\\\\\\\\\\\\\ \n"; cout<<"Type the distance in kilometer\n";cin>>DisKil; DisMet=DisKil*1000; cout<<"The distance in meters is: "<<DisMet; system ("pause\n"); }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.