Q2) iPizza For this question, implement a simple pizza ordering system, like the one in the...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Q2) iPizza For this question, implement a simple pizza ordering system, like the one in the provided video clip. You are required to create your own functions/methods, local variables, state variables and constants. You are free to use a different set of colors as well as pizza types. The cost of each pizza category is as follow: Medium: $8 Large: the price of a medium * 1.4 Extra-large: the price of a medium * 2.1 If the mouse cursor is in the area of a pizza on the first page, your program should animate that particular pizza until it is selected or the mouse cursor is outside of the pizza area. When the mouse cursor enters the same pizza size again, the animation should resume from the angle where it left off. After a pizza size has been selected (with a mouse click), there must be a short transition page similar to the provided video, which directs the user to the page where type of pizza can be selected. By selecting a pizza type (with a mouse click), the program should show the last page,giving a summary of the order. Q2: iPizza (23) a) Pizza size page [10] Showing the 3 different sizes of the pizza with their cuts (use a for loop for the cuts) (5) All three pizza icons respond properly to the mouse as illustrated in the sample video (5) b) Transition between the first and second page [3] c) Pizza type page [4] Displays the texts vertically for three different pizza types (2) Use three different colors (2) d) Summary page [4] Display what size of pizza was selected (1) Display what type of pizza was selected (1) Display the price and the rest of the message (2) e) Comparing String data types appropriately in your program at least twice. [1] f) Usage of the textWidth function appropriately in your program at least twice [1] Q2) iPizza For this question, implement a simple pizza ordering system, like the one in the provided video clip. You are required to create your own functions/methods, local variables, state variables and constants. You are free to use a different set of colors as well as pizza types. The cost of each pizza category is as follow: Medium: $8 Large: the price of a medium * 1.4 Extra-large: the price of a medium * 2.1 If the mouse cursor is in the area of a pizza on the first page, your program should animate that particular pizza until it is selected or the mouse cursor is outside of the pizza area. When the mouse cursor enters the same pizza size again, the animation should resume from the angle where it left off. After a pizza size has been selected (with a mouse click), there must be a short transition page similar to the provided video, which directs the user to the page where type of pizza can be selected. By selecting a pizza type (with a mouse click), the program should show the last page,giving a summary of the order. Q2: iPizza (23) a) Pizza size page [10] Showing the 3 different sizes of the pizza with their cuts (use a for loop for the cuts) (5) All three pizza icons respond properly to the mouse as illustrated in the sample video (5) b) Transition between the first and second page [3] c) Pizza type page [4] Displays the texts vertically for three different pizza types (2) Use three different colors (2) d) Summary page [4] Display what size of pizza was selected (1) Display what type of pizza was selected (1) Display the price and the rest of the message (2) e) Comparing String data types appropriately in your program at least twice. [1] f) Usage of the textWidth function appropriately in your program at least twice [1]
Expert Answer:
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Let r and s be solutions to the quadratic equation x 2 b x + c = 0. For n N, define d0 = 0 d1 = r s dn = b dn1 c dn2 (n 2) Prove that dn = r n s n for all n N. [4 marks] (b) Recall that a commutative...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Explain what you would assume the yield curve would look like during economic expansion and why.
-
A pressure cooker containing water is heated on a stove. Determine the interactions and signs (positive: 1; negative: -1; none: 0) of (a) Q (b) Wext, if any, as steam is released.
-
Use the Present Value of $1 table to determine the present value of $1 What is the total present value of the cash flows received received one year from now? Assume a 6% interest rate. Present Value...
-
Prove directly that, for each \(t \geq 0\), \[\mathbb{E}\left(e^{-z T(t)} ight)=\int_{0}^{\infty} e^{-z s} f_{T(t)}(s) d s=e^{-t z^{1 / 2}}\] where \((T(t), t \geq 0)\) is the Lvy subordinator.
-
McIver's Swimwear Distributors is a relatively small, privately held swimwear distribution company that operates in the Midwest and handles several product lines, including footwear, clothing, and...
-
On September 1 , 2 0 2 7 , Betty DeRose, Inc. received $ 5 4 , 0 0 0 cash from a customer as payment for services that will be performed over the next 3 0 months. On May 3 1 , 2 0 2 8 , Betty DeRose,...
-
In September of 2016 it was reported that AAA rated corporate bonds with 20 years to maturity were yielding 3.18%, while AAA rated municipal bonds of the same maturity yielded 2.57%. a. Based on this...
-
General Equilibrium in closed and open economies Consider the following closed Keynesian economy Desired consumption, Cd = 1000 + 0.6(Y-T) - 300r; Desired investment, Id = 600 - 300r; Money deman d,...
-
Two thin rods of length 7 8 . 2 ?cm are placed side - by - side as shown below, separated by a distance x = 1 . 7 0 ?cm . ?The positive rod has total charge 4 . 7 0 ?nC . ?The electric field a...
-
Q1. A uniform rod of length L and mass M is attached at one end to a frictionless pivot and is free to rotate about the pivot in the vertical plane, as shown in Figure. The rod is released from rest...
-
A charge -1.9 nC is placed at (-3, 2, -3) m and another charge 6.4 nC is placed at (3, 3, -3) m. What is the electric field at (-3, 3, -2) m? (0.0.0) N/C
-
A 250-kg beam 2.0 m in length slides broadside down the ice with a speed of 23 m/s. A 69-kg man at rest grabs one end as it goes past and hangs on as both he and the beam go spinning down the ice....
-
Respond that the following statements are TRUE or FALSE: 1) Companies evaluate investment centers using the same measures as the profit centers. 2) Operating income alone does not indicate how...
-
A test car is driven a fixed distance of n miles along a straight highway. (Here n Z+.) The car travels at one mile per hour for the first mile, two miles per hour for the second mile, four miles...
-
Why can staging investment decisions add value?
-
How do you use a decision tree to make the best investment decision?
-
How can you identify a real option in a decision tree?
Study smarter with the SolutionInn App