Programming Drill #6

Due: Monday, September 24
Goal:  Practice with a switch or if statement and random numbers

What's for dinner?  Let the computer decide.

Write a program that generates a random integer that is either 1, 2, 3, or 4.

Use the random number in either a switch or if statement that outputs "Pizza" if the number is 1 or 2, "Stinky Tofu" if the number is 3, and "Doner" if the number is 4.

Show your program to your instructor or email it to kenrick@uaa.alaska.edu by the end of the day for full credit.