Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started