Assignment 3

Pizza Order


There should only be two different sizes of pizza, large and extra large!

Everyone loves pizza, so in your program, you will be able to order two sizes of pizza, large and extra large.


Here is the problem

Create a program that will allow the user to enter in if they want a large or extra large pizza. They can also choose to have 1, 2, 3, or 4 toppings, not including cheese. The program will then calculate the cost of the pizza and the taxes (HST is 13%). It will then display the cost, each tax and the final cost. Here is a breakdown of cost:

Two-Part Assignment

  • This is a 2-week assignment:
    • Week 1 hand in DESIGN AND TEST CASES ONLY
    • Week 2 hand in EVERYTHING (INCLUDING ABOVE)
  • Each week ENSURE you include the Marking Rubric

Things to note

  • If you are not sure on any part of the problem, just ask me and I will give you additional information
  • You must do the program in Swift first (get a 3+). You can get a 4+ by doing the program in another programming language
  • See Marking Rubric below
  • The solution will require if statement(s) to work, ensure you use them in your design and your coding
  • Ensure you work through (in order):
    • GUI Design
    • Top-down
    • Flow-chart
    • Pseudo-code
    • Final, debugged, commented code
  • Remember to think, Input – Process – Output, when designing your program
  • Note: my program is "old" and does not do HST but taxes separately
  • The final assignment MUST be in one (1) *.pdf file when you are submitting each part
    • Part A:
      • Document Name
        • ensure it is the assignment #, course code and your full name
      • Cover Page
        • this will include the assignment #, course code and your full name
      • Checklist
        • documenting the parts of the assignment that is to be included and stating that you have included them
      • Design Document(s):
        • this includes GUI Design, Top-down Design, Flow-chart(s) and Pseudo-code
      • Test Cases:
        • at least three (3) test cases (maybe more if it is needed!) done by some other method than your (or some else's) program
      • Marking Rubric:
        • ensure you include the correct assignment marking rubric
        • ensure you "merge" it with your document, but do not just paste it onto a page at the end
    • Part B:
      • Document Name
        • ensure it is the assignment #, course code and your full name
      • Cover Page
        • this will include the assignment #, course code and your full name
      • Check List
        • documenting the parts of the assignment that is to be included and stating that you have included them
      • Design Document(s):
        • this includes GUI Design, Top-down Design, Flow-chart(s) and Pseudo-code
      • Test Cases:
        • at least three (3) test cases (maybe more if it is needed!) done by some other method than your (or some else's) program
      • Screen Shots:
        • screenshots of your running program
        • you will include a screenshot for each test case you have from above, proving your program actually works
      • Code:
        • you must get ALL of the code into your document (in a logical order) as plain text.
      • Marking Rubric:
        • ensure you include the correct assignment marking rubric
        • ensure you "merge" it with your document, but do not just paste it onto a page at the end