Day Name (Switch)

JavaScript Easy 3 views
Back to Questions

Problem Description

Input is day number (1-7). Print day name (Monday..Sunday). If number is out of range, print INVALID.

Input Format

One integer d.

Output Format

Day name or INVALID.

Sample Test Case

Input:
6
Output:
Saturday

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next