You are on page 1of 1

Athlete & Medals Count

If the name N of the athlete and the number of medals M won by the athlete in a games tournament
(like Olympics) are passed as the input, the program must print the message as "N won M medals"

Example Input/Output 1:

Input:

Phelps
5

Output:

Phelps won 5 medals

TestCase ID: 4681

Input:

Phelps
5

Expected Output:

Phelps won 5 medals

4 B.BHUVANESWARAN | AP (SG) | CSE | Rajalakshmi Engineering College

You might also like