For This or a Similar Paper Click To Order Now

Phase 3
Learning Goal: I'm working on a java exercise and need a sample publish to help me learn. Problem Statement Code a Java program to display the daily menu special for a restaurant. Remember to backup your program before you begin each phase. Phase 1 Use a showInputDialog() box to ask the user to enter a day of the week. Ex. Friday Convert the text they enter into all uppercase Use a SWITCH/CASE statement to evaluate the day Display a special menu item and the price to the user (you can make one up for each day). Hold the item price of in a variable, you will need this in phase 2. Phase 2 Monday thru Thursday customers get a free dessert with any entrée over $12.99 Create this logic AFTER your Switch statement Use a nested IF for this logic Tell the user if they are entitled to a free dessert Phase 3 Add loop logic, of your own choosing Use ++ to increment a counter to track the number of loops executed Phase 4 Display an image of a dessert, when the user gets a free dessert Sample Run Hola - Bienvenidos a Tim's Taco Enter the day of the week Monday TODAY'S SPECIAL: 3 Tacos and a drink $13.95 You get a FREE dessert.....Bueno!

For This or a Similar Paper Click To Order Now

Leave a Reply

Your email address will not be published. Required fields are marked *

For This or a Similar Paper Click To Order Now