Spinneys Grocery store needs a program that calculates the total amount of the bills for customers.
You have decided to design a Java project called “Spinneys” that continues accepting amounts for the purchased goods for a certain customer until the user enters zero which denotes the end of the bill.
The program accumulates these amounts and in the end, it displays the total amount. The management has decided to grant a 2% discount on the total amount if it is greater or equal to AED 1000.
You need to calculate the gross amount, discount and net amount.
The management has also decided to give a chance for the customers to play the “Lucky Seven” game by turning a wheel of 10 numbers from 1 to 10. If the wheel stops at number 7, a message will be displayed saying “Congratulations, you are the Lucky Seven Winner!”.