create a simple shopping calculator

Responsive Centered Red Button

Need Help with this Question or something similar to this? We got you! Just fill out the order form (follow the link below), and your paper will be assigned to an expert to help you ASAP.

You will create a simple shopping calculator. Some items such as candy, eggs, and flour will have special promotional discounts applied to them. Users will enter the name of an item found at the grocery store, along with number of items purchased, and price per item. If the item name is found in a list of discounts, each additional item purchased will lead to the price being discounted by 5%, up to a maximum of 20%. See below for more details. Both the item number and the item price entered by the user must be numerical, you can use a string function to check this. Once the user has f inished entering items and their prices, you program will print a receipt. Each item will be printed along with item number and the price. Your program will print a total on a new line, and on another new line, the total discount applied to all purchases. Discount Here’s the full list of foods that have the promotional discount. You should put these into a list: • candy • eggs • flour • hummus • ice cream • chicken soup • diapers Your script should compare the item name with the items in this list. If an item is eligible for a discount, each item the user purchases over 1 will cause the price for all of that item to be discounted by an additional 5%. For example: • 1 item of candy costs 1.29. This is a discounted item but the user is purchasing only 1. They are not eligible for a discount. • 2 items of candy cost 1.29, but since this is a discounted item a 5% discount is applied. Each item of candy now costs 1.2255, for a total cost of 2.451. The amount should appear as ‘$2.45’ on the receipt. • 3 items of candy cost 1.29, but now a 10% discount is applied. Each item of candy now costs 1.161, for a total cost of 3.483. This will appear as ‘$3.48’ on the receipt.The maximum possible discount should be 20%.

How to create Testimonial Carousel using Bootstrap5

Clients' Reviews about Our Services