Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _15._02._2020
- {
- class Program
- {
- static void Main(string[] args)
- {
- int a = int.Parse(Console.ReadLine());
- if (a == 1)
- {
- Console.WriteLine("one");
- }
- else if (a == 2)
- {
- Console.WriteLine("two");
- }
- else if (a == 3)
- {
- Console.WriteLine("three");
- }
- else if (a == 4)
- {
- Console.WriteLine("four");
- }
- else if (a == 5)
- {
- Console.WriteLine("five");
- }
- else if (a == 6)
- {
- Console.WriteLine("six");
- }
- else if (a == 7)
- {
- Console.WriteLine("seven");
- }
- else if (a == 8)
- {
- Console.WriteLine("eight");
- }
- else if (a == 9)
- {
- Console.WriteLine("nine");
- }
- else if (a == 10)
- {
- Console.WriteLine("number too big");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement