Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Dcoder
- {
- public class Program
- {
- public static void Main()
- {
- try
- {
- String input = Console.ReadLine();
- if (input != null && input != "")
- {
- int num = int.Parse(input);
- Console.WriteLine(num);
- }
- }
- catch
- {
- }
- Console.WriteLine("Error!");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement