akosiraff

Download: Cost of Delivering Package C#

Jan 27th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/cost-of-delivering-package-c/
  3. Submit the source code for the program that is described below.
  4. For console applications: upload a text file with a .txt or .csfile extension.For window forms applications: upload the zipped project folder.
  5. ________________________________________________________________
  6. ________________________________________________________________
  7. A local delivery service contacted you to write a program that calcuates the cost of a delivering a package. The business will use the program in preparing quotes for perspective customers.
  8. The delivery service delivers packages only in Houston. The delivery service charges by the mile according to the destination zip code listed in the chart below. The chart contains the cost per mile delivery charge for each destination zip code.
  9.  
  10.  
  11. Destination Zip Code
  12. Cost per Mile in $
  13.  
  14. 77001
  15. 1.25
  16.  
  17. 77002
  18. 1.50
  19.  
  20. 77003
  21. 1.55
  22.  
  23. 77004
  24. 2.00
  25.  
  26. 77005
  27. 2.25
  28.  
  29. 77006
  30. 1.50
  31.  
  32.  
  33. At a minimum, write a program that allows a user to enter a zip code and the mileage. Then the program will display the total delivery cost.
  34.  
  35. For example the program could prompt the user,”Please enter the destination zip code: ” and “Please enter the total number of delivery miles: ”
  36.  
  37. If in this example, the user enters 77004 and 10, the program would display:
  38.  
  39. “For a 10 mile delivery, at the rate of $2.00 per mile, the total cost of delivery is $20 in zip code 77004.”
  40.  
  41. Your program may contain other features.
  42.  
  43. For full credit your program must contain the following elements:
  44.  
  45. 1. Source Code Organization: The program illustrates a step-by-step approach to the solution.
  46. 2. References/Documentation: The program contains documentation that explains what material from each of the chapters 1-5 of the text is illustrated.
  47. 3. Syntax: The program contains no syntax errors.
  48. 4. Content: The program correctly illustrates material from chapters 1-5 of the text.
  49. 5. Originality: The program is original. All programs that are similar will receive a maximum grade of 75.
  50.  
  51. 6. Correctness: The program works correctly. The program checks input for valid entries, formats output, computes correctly, etc.
  52.  
  53. Submit the source code for the program that is described below.
  54. Upload a text file with a .txt or .cs or extension ONLY.
  55.  
  56. Download: http://solutionzip.com/downloads/cost-of-delivering-package-c/
Add Comment
Please, Sign In to add comment