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