76 793
Assignments Done
Successfully Done
In June 2019

Answer to Question #14685 in C++ for kk

Question #14685
Write a C++ program to convert a distance given in miles plus additional feet into kilometers. Use the following values (please, exactly these values – they're not exactly correct but I want your results to exactly match my results) to convert the distances: one mile is 5280 feet, one meter is 3.28 feet (this isn't exactly correct but don't worry about it), and one kilometer is 1000 meters.
Expert's answer
#include <math.h>
using namespace std;

int main()
& float mil,fe,a;
int i,j,k;
cout<<"Enter the distance in miles: ";
cout<<"Enter additional feet: ";
cout<<"Distance in kilometers: "<<a<<"\n\n";;



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions