Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Security.Cryptography.X509Certificates;
- namespace convert
- {
- internal class Program
- {
- public static void Main(string[] args)
- {
- string number;
- int num;
- string [,] bigNum = {{"***", "*", "***", "***", "* *", "***", "* ", "***", "***", "***"},
- {"* *", "*", " *", " *", "* *", "* ", "* ", " *", "* *", "* *"},
- {"* *", "*", "***", "** ", "***", "***", "***", " *", "***", "***"},
- {"* *", "*", "* ", " *", " *", " *", "* *", " *", "* *", " *"},
- {"***", "*", "***", "***", " *", "***", "***", " *", "***", "***"}};
- number = Console.ReadLine();
- for (int j = 0; j < 5; j++)
- {
- for (var x = 0; x < number.Length; x++)
- {
- num = Convert.ToInt32(number[x].ToString());
- Console.Write(bigNum[j, num]);
- Console.Write(" ");
- }
- Console.WriteLine();
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment