C++ Control Flow Statements 8

Question:15
C++ program to take input for a 4 digit number, calculate and print sum of odd digits?
Sol:

Question:16
C++ program to take input for day number (1..7) and print the day?
for example:

input output
1 Sun
2 Mon
3 Tue
4 Wed
5 Thru
6 Fri
7 Sat
Sol:

Question:17
C++ program to take input for month number (1..12) and print the Month?

for example:
input output
1 Jan
2 Feb
3 Mar
and so on
Sol: