Codey and Sunday
https://www.hackerrank.com/contests/codenection-2024-test/challenges/cn24-test2
Question
Codey wanted to take a break and relax, and it wonder how many days are left until the next Sunday.
Input Format
The first line is a string s
, the current day of the week.
Constraints
s
is Monday to Saturday.
Output Format
Output an integer, the number of days from the given day until the next Sunday.
Sample Inputs:
Last updated