Question: its java, the programming language us java Activity 1 A new restaurant near university is celebrating its 3rd year of opening. For this occasion, they

 its java, the programming language us java Activity 1 A new
its java, the programming language us java

Activity 1 A new restaurant near university is celebrating its 3rd year of opening. For this occasion, they are giving away special offers to customers. The manager wants you to write a program for customers that will do the following things: 1. Draw a flowchart in your notebook to show the logic flow of this program. You may read through the rest of the steps to get a better What variables need to be idea, but make sure you create the flowchart before coding declared before starting? What data types must be used? 2. Write your comments! You should always write comments, even if it doesn't say so in the steps/instructions. 3. Have a welcome message to the customer that describes this special event as well as the possible discounts: a 50/50 chance to either get a 20% discount, or a 25% discount. 4. Simulate a coin toss to determine which discount the customer will get. How can you do this using random numbers? 5. Display which discount the customer has received along with a nice message. How will you display a specific message depending on the coin toss's result? TIP Throughout these activities, pay attention to the difference between a switch statement and an if / If else statement. How is the organization different, and how can you take tafobieta Ardilla

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!