Suppose you are working as a programmer in an IT firm. Your firm got a project to develop an application for an Ice Cream Parlor. The application must be developed considering the following scenario.
• The application will display a menu showing the flavors that have been offered by the Ice Cream Parlor.
• The Parlor offers Tutti-Frutti, Chocolate, Pineapple, Kulfa, Strawberry, Mango, Orange, and Pistachio flavors.
• The price of each flavor per scoop has been listed in the table below, for multiple scoops, the price will variate as per the scenario stated in the table.
Flavor Price Per Scoop One Scoop Two Scoops
Three Scoops or above
Tutti-Frutti 150 120 100
Chocolate 150 120 100
Pine Apple 150 120 100
Kulfa 150 120 100
Strawberry 150 120 100
Mango 175 150 130
Orange 200 170 150
Pistachio 150 120 100
• The developed application will ask the customer to select the flavors and no. of scoops for each selected flavor.
The program will perform calculations and display the bill. You are required to write the pseudo-code for the above-given scenario.
Comments
Leave a comment