218k views
5 votes
Design the wireframes and storyboard, interactivity diagram, object dictionary, and any necessary scripts for an interactive program for customers of Sanderson’s Ice Cream Sundaes. Allow customers the option of choosing a three-scoop, two-scoop, or one-scoop creation at a base price of $4.00, $3.00, or $2.20, respectively. Let the customer choose chocolate, strawberry, or vanilla as the primary flavor. If the customer adds nuts, whipped cream, or cherries to the order, add $0.50 for each to the base price. After the customer clicks an Order Now button, display the price of the order.

User AceKYD
by
6.7k points

1 Answer

0 votes
Sure, let's break down the requirements for the interactive program for Sanderson's Ice Cream Sundaes!

Wireframes and Storyboard:
- Start with a main screen showing the options for choosing the number of scoops (1, 2, or 3) and the primary flavor (chocolate, strawberry, or vanilla).
- Add checkboxes or buttons for the additional toppings (nuts, whipped cream, cherries).
- Include an "Order Now" button at the bottom of the screen.
- After the customer clicks "Order Now," display a confirmation screen with the selected options and the total price.

Interactivity Diagram:
1. Customer selects the number of scoops and the primary flavor.
2. Customer can choose to add nuts, whipped cream, or cherries.
3. Customer clicks the "Order Now" button.
4. Program calculates the total price based on the selected options.
5. Program displays the confirmation screen with the selected options and the total price.

Object Dictionary:
- Scoop: Represents a single scoop of ice cream.
- Flavor: Represents the primary flavor of the sundae.
- Topping: Represents the additional toppings (nuts, whipped cream, cherries).
- Order: Represents the customer's order, including the number of scoops, flavor, and toppings.
- Price: Represents the total price of the order.

Necessary Scripts:
- Use JavaScript or a similar programming language to handle the user's selections and calculate the total price.
- Create functions to update the price based on the selected options.
- Use event listeners to detect when the "Order Now" button is clicked and display the confirmation screen.

I hope this helps you with your homework! Let me know if you have any more questions or need further assistance.
User Ryggyr
by
7.5k points