Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Den_ot_sedmicata
- {
- class Program
- {
- static void Main(string[] args)
- {
- int num = int.Parse(Console.ReadLine());
- if (num == 1)
- {
- Console.WriteLine("Понеделник");
- }
- else if (num == 2)
- {
- Console.WriteLine("Вторник");
- }
- else if (num == 3)
- {
- Console.WriteLine("Сряда");
- }
- else if (num == 4)
- {
- Console.WriteLine("Четвъртък");
- }
- else if (num == 5)
- {
- Console.WriteLine("Петък");
- }
- else if (num == 6)
- {
- Console.WriteLine("Събота");
- }
- else if (num == 7)
- {
- Console.WriteLine("Неделя");
- }
- else
- {
- Console.WriteLine("Error");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement