Question: 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:

Program 3: Olympic medal Write a program which converts the finishing position

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 medal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!