Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- String x;
- String y;
- x = Console.ReadLine();
- y = Console.ReadLine();
- if (x.Length == y.Length) { Console.WriteLine("OK"); }
- if (x.Length < y.Length)
- {
- while (x.Length != y.Length)
- {
- x = "0" + x;
- }
- Console.WriteLine(x);
- }
- if (x.Length > y.Length)
- {
- while (x.Length != y.Length)
- {
- y = "0" + y;
- }
- Console.WriteLine(y);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement