Write a program that calculates the mileage and/or cost of fuel by asking the user to input two cities. I NEED HELP. MY TEACHER DOESN'T TEACH ME ANYTHING.
San Diego, CA and Houston, TX
1473.4 miles
Nevada, KY and Alaska, PA
501.1 miles

Recommended Answers

All 3 Replies

heey hoow no ... this is not a "do my homework forum". please read (and respect) the community rules.

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rules

Post what you have done so far and someone will help you from there.

Finished.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.