This preview shows page 1. Sign up to view the full content.
Unformatted text preview: */ miles; /* output - distance in miles */ /* Get the distance in kilometers. */ printf("Enter the distance in kilometers> "); scanf("%lf", &kms); /* Convert the distance to miles. */ miles = MILES_PER_KM * kms; /* Display the distance in miles. */ printf("That equals %f miles.\n", miles); return (0); }...
View Full Document
This note was uploaded on 08/06/2008 for the course EGR 261 taught by Professor Parikh during the Spring '08 term at Grand Valley State University.
- Spring '08