Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Coding
- {
- class Program
- {
- static void Main(string[] args)
- {
- string Number = Console.ReadLine();
- for(int i=Number.Length-1;i>=0; i--)
- {
- char Symbol = Number[i];
- int IntAllNum = int.Parse(Symbol.ToString());
- if (IntAllNum == 0)
- {
- Console.Write("ZERO");
- }
- for (int j = 0; j < IntAllNum; j++)
- {
- Console.Write((char)(IntAllNum + 33));
- }
- Console.WriteLine();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement