Question: Robotic Ice Cream Key programming concepts: variables, input, output, if statements Commands you can t use: return, goto Program Inputs Enter your size: User will
Robotic Ice Cream Key programming concepts: variables, input, output, if statements Commands you cant use: return, goto Program Inputs Enter your size: User will always enter a whole number but it may not match the correct sizes If the choice is invalid, display Invalid size! Please start another order... Enter base flavor: User will always enter a single capital letter but it may not match a flavor option If the choice is invalid, display Invalid flavor! Please start another order... Enter your topping: User will always enter a single capital letter but it may not match a topping option If the choice is invalid, display Invalid topping! Please start another order... Program Outputs Final price with tax: $XXXX Calculate the users final price, including a sales tax, to decimal places Assignment Details Automation is used everywhere in engineering, from factory floors to selfdriving vehicles. For this assignment, you will develop a software interface for an autonomous ice cream kiosk! Companies such as FROYO Robots have been implementing these kiosk for a few years now in malls and other public areas. Essentially, a user makes their ice cream selection, including a topping, and their dessert is made right in front of them without any human interaction! three different sizes: Small at $ Regular at $ and Large at $ It also has flavors to choose from: Vanilla, Chocolate, Strawberry, and Birthday Cake, along with different toppings $ each: Sprinkles, Hot Fudge, Caramel, Brownie Bits. Present this information using the following display in your program: Welcome to the Ice Cream Kiosk! Make your choices below: Sizes: Small Regular Large Flavors: A Vanilla B Chocolate C Strawberry D Birthday Cake Toppings: E Sprinkles F Hot Fudge G Caramel H Brownie Bits I None Your program must calculate the final sales price, including a sales tax, for a single ice cream order. Please note that the user will only make order at a time and can only choose topping per order. If the user tries to place an order that is invalid, simply state this on the screen and end the program do not try to restart the ordering process The program should NOT ask any more questions after receiving an invalid option. FOR MATLAB
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
