Question: 1)Write a complete program that asks the user to enter their dice roll value (a number between 2 and 12). If the user's dice roll

1)Write a complete program that asks the user to enter their dice roll value (a number between 2 and 12). If the user's dice roll is seven, print "Congratulations, you've been robbed!" Otherwise, print "Whew! That was close!"

2)

The local Ted & Barrys ice cream parlor place has asked you to help them test an online ordering program. You are to determine which statement(s) will be written to the console that tells the employees which scoops of ice cream the customers have ordered based on the following code.

BEGIN MAIN

CREATE flavor 1

SWITCH (flavor)

CASE 1: PRINT Chocolate

CASE 2: PRINTLINE Butter Pecan

BREAK

CASE 3: PRINT Strawberry

CASE 4: PRINTLINE Vanilla

BREAK

CASE 5: PRINT Rocky Road

BREAK

CASE 6: PRINT Mint Chocolate Chip

DEFAULT: PRINTLINE sundae.

END SWITCH

END MAIN

write the exact output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!