Masala #MDASXZ0V3P
  
if #4
sizga a soni beriladi, agar a soni 1 ga teng bo'lsa “Monday”, 2 ga teng bo'lsa “Tuesday”, 3 ga teng bo'lsa “Wednesday”, 4 ga teng bo'lsa “Thursday”, 5 ga teng bo'lsa “Friday”, 6 ga teng bo'lsa “Saturday”, 7 ga teng bo'lsa “Sunday”, agar boshqa son bo'lsa “error” chiqaring.
Kiruvchi ma'lumotlar:
Chiquvchi ma'lumotlar:
Misollar
# | input.txt | output.txt |
---|---|---|
1 |
1 |
Monday |
2 |
2 |
Tuesday |
3 |
3 |
Wednesday |
Yechimini yuborish
Bu amalni bajarish uchun tizimga kiring,
agar profilingiz bo'lmasa istalgan payt ro'yxatdan o'tishingiz mumkin