Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2 1. A famous retali shop decides to launch a big flash salet -30is on all the items. Since it is a flash sale

image text in transcribed
image text in transcribed
Exercise 2 1. A famous retali shop decides to launch a big flash salet -30is on all the items. Since it is a flash sale the shop does not update the prices and let the customers find out the cilscounted price. Draw a flowchart of program called Sate that asks the user for the price of an item and displays the corresponding discounted price. Check that ff an item costs 5000A, the program returns 350OA after the discount. 2. Few months later, the government decides to add a luxury tax on all items, which amounts to 12\%. Draw a flowchart of program called Lastiss that asks the user for the price of an ltem Without tax and displays the price of the item with theadded tax. Check that if an item costs 5000AR without tax, the program returns 5600AR including the tax. Exercise 3 If the current date ts the users birthdaytit displeys Plappy birthday to your. If the current date ts March 14 , fit display "it is stills competilion Days. Assume that the program knows the goubabsenote. What happens if someone is bom on March the nat

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

Students also viewed these Databases questions

Question

=+(0

Answered: 1 week ago

Question

9. Explain the relationship between identity and communication.

Answered: 1 week ago

Question

a. How do you think these stereotypes developed?

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago