Thread: Help with C . File attached.

  1. #1
    Registered User
    Join Date
    May 2015
    Posts
    3

    Help with C . File attached.

    I am trying to work out the math for a program that will calculate a decision statement that follows the following set of instructions:

    /*
    1) number of miles to ship a package, and 2) the weight of the package. You are to compute the price to ship the package. The formula is as follows.

    If the weight of the package is <= 10 pound this the rate is $10.
    If the package is over 10 pounds then the rate is $10 plus 50 cents for each pound over 10.

    In addition you are to add $5.00 for each 500 miles (or part of) shipped.
    */

    Any help will be greatly appreciated! Thanks!
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Attached PDF file.
    By Falconcpp in forum Windows Programming
    Replies: 4
    Last Post: 06-19-2012, 05:04 AM
  2. Interpretation to this Question attached
    By Donaldstr in forum C Programming
    Replies: 4
    Last Post: 11-02-2009, 02:15 AM
  3. Determine drives attached
    By niqo in forum Windows Programming
    Replies: 2
    Last Post: 10-05-2007, 09:49 AM
  4. Please Help with code(attached) Please
    By wmaster1 in forum Windows Programming
    Replies: 1
    Last Post: 11-29-2001, 11:58 PM
  5. Vehicle file attached.
    By RJstuff1 in forum C++ Programming
    Replies: 8
    Last Post: 09-22-2001, 01:56 PM

Tags for this Thread