In this challenge, the task is to implement a function tipPercentage that:
take 1 argument: rating, a string;
returns the number of percentage for the given ratings:
if rating is Terrible or Poor, then returns 3;
if rating is Good or Great, then returns 10;
if rating is Excellent, then returns 20;
if rating is none of the above, then returns 0;
Answers
Answered by
1
Answer:
OK as your wish be safe every one day by day the covid is increasing
Similar questions
India Languages,
4 months ago
Computer Science,
9 months ago
Science,
9 months ago
English,
1 year ago
Math,
1 year ago