Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Program 3: Olympic medal Write a program which converts the finishing position in an Olympic event into a descriptive phrase. You are to use a
Program 3: Olympic medal
Write a program which converts the finishing position in an Olympic event into a descriptive phrase. You are to use a CASE statement with only 5 case statements to assign the descriptive phrase as follows:
Phrase Gold medalist Silver medalist Bronze medalist You almost won a medal Nice try Position 1 3 4 or 5 Other Olympic Medal Finishing position (1, 2, 3,); Evaluate Position olympic Medal Finishing position (1, 2, 3, .): 4 Evaluate Position You almost won a medalStep 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