CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Threaded View

  1. #1
    Join Date
    Oct 2009
    Posts
    38

    Program help please!

    Hi guys, I am new to C++ and I am told to write this program but I do not know where to start. I am suppose to write a program that does this..

    Write a program that asks for the weight of the package and the distance it is to be shipped, and then display the charges. When calculating the rate, drop fractions of miles, then add one for each whole or partial segment of 500 miles.
    ^ what does add one for each whole or partial segment of 500 miles mean?


    weight of package =2 kg or less, rate per 500 miles shipped = $1.10
    weight of package =over 2kg but less than 6kg , rate per 500 miles shipped = $2.20
    weight of package =over 6kg but less than 10kg , rate per 500 miles shipped = $3.70
    weight of package =over 10kg but less than 20kg , rate per 500 miles shipped = $4.80

    Please help guys..I am really stuck
    Last edited by Sabensohn70; October 20th, 2009 at 10:48 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured