
Q1: How do calculate the prices? Q2: Does our output have to mimic the expected output exactly? I wrote the menu for the Pizza program in a slightly different order. Q3: Will the auto grader see a different output and mark me off for it? Q4: Where is the FAQ file?
Q1: How do calculate the prices? A1: 1) If num_persons is odd then you always order a mini. e.g. price += 3.98 2) a) If num_persons is 8 and under then if num_persons is 2, price += 7.98 if num_persons is 4, price += 10.74 if num_persons is 6, price += 16.74 if num_persons is 8, price += 17.74 Note: after doing odd above then 2, 4, 6, or 8 is the num_persons b) If num_persons is greater than 8 then You always order 2 large pizzas. Handle these 3 conditions for number of persons separately. Easiest is Step 1) then 2a) then 2b) Note: This was given in lecture on the board, write down these PA tips!!
Q2: Does our output have to mimic the expected output exactly? I wrote the menu for the Pizza program in a slightly different order. A2: NO
Q3: Will the auto grader see a different output and mark me off for it? A3: NO. The autograder will run the program but a HUMAN will look at your output.
Q4: Where is the FAQ file? A4: Type "more QA/QA4" It's specified in the broadcast file upon login. (QA Questions & Answers) It's also linked off the web page.