#include #include int main() { double weight, miles, rate370; printf("How heavy is the package in pounds . \n"); scanf("%lf", &weight); printf("The package weighs : %.2lf \n", weight); printf("How many miles are you shipping the package .\n"); scanf("%lf", &miles); printf("You are shipping the package %.2lf \n", miles); if ( weight <= 5.6 ) { rate370 = (int) miles / 500 * 3.7; printf("Your total cost : %.2lf\n", rate370); } }