This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm doing a project for school about shipping rates i need to make a program that will ask the user to enter a weight of a package and the amount of miles they want to ship it.. the rates per 500 miles are as follows:
2lbs or less 1.10
over 2 lbs but not more than 6lbs 2.20
6lbs but not more than 10 lbs 3.70
over 10 lbs is 3.80
I am having a hard time trying to figure out what i need to put in my code to have any package being sent under 500 miles get set to the minimum shipping rate listed above or is there a different way i should be setting this up??.. can someone please explain to me what i need to do i would greatly appreciate it.. Here is what i have so far: