Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

**** In Java***** Project 1 Write a program for a shaved ice stand (aka snowball stand) to display the total sale to a cashier. The

image text in transcribed

**** In Java*****

Project 1 Write a program for a shaved ice stand (aka snowball stand) to display the total sale to a cashier. The pricing is set per franchise. The store for Project 1 is Penguin Shaved Ice. The pricing schedule for this particular franchise is: Size Price Child $1.23 each Medium Large Extra Large $2.34 each $3.45 each $4.56 each The program should request the name of the franchise and convert all of the text to uppercase. The program then accepts the number of sales per size, performs the necessary computations and then displays the total sales (see example below). The bill should also include a 9 digit random number to serve as a confirmation code. Be sure to test many different size-purchasing options. Please use the same prices as listed above. The program will not be accepted with compile errors or without significant comments. Use Module 1 compiler lab as an example on how to include comments. Here is the sample output: # of Sales ## Child Medium Large Extra Large PENGUIN SHAVED ICE //- - - Price Total $1.23 $$$$.$$ $2.34 $$$$$ $3.45 $$$$$$ $4.56 $$$$$$ ## Total $$$$$.$$ Confirmation code: * ***

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications Dexa 2021 Workshops Biokdd Iwcfs Mlkgraphs Al Cares Protime Alsys 2021 Virtual Event September 27 30 2021 Proceedings

Authors: Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil ,Bernhard Moser ,Atif Mashkoor ,Johannes Sametinger ,Anna Fensel ,Jorge Martinez-Gil ,Lukas Fischer

1st Edition

3030871002, 978-3030871000

More Books

Students also viewed these Databases questions