Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please make code about this. Python language please DISCOUNT STORE Input: Name of a person Age of that person Original Price of an item Process:

Please make code about this. Python language please

image text in transcribed

DISCOUNT STORE Input: Name of a person Age of that person Original Price of an item Process: For every vowel in the name of that person, add 0.5% to the discount. If that person is below 18 years old, add 10% discount. - If that person is above 60 years old, add 2% multiply by the number of consonants in the person's name If the length of that person's name is odd, remove 15% discount else add 10% discount. If the original price of the item is odd add 20% discount else remove 15% Output: Discounted Price of the item Example: Input name: Marc Input age: 23 Input original price: 101 Discounted Price is: 70.195 (101 - 101(0.005 + 0.1 +0.2))

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_2

Step: 3

blur-text-image_3

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

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions

Question

What effect does mass have on space time?

Answered: 1 week ago

Question

13-1 How does building new systems produce organizational change?

Answered: 1 week ago

Question

13-4 What are alternative methods for building information systems?

Answered: 1 week ago