Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- static void Main()
- {
- long a = long.Parse(Console.ReadLine());
- string[] names = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };
- Console.WriteLine(names[Math.Abs(a % 10)]);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement