Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace les3
- {
- class Program
- {
- static void Main(string[] args)
- {
- string str = Console.ReadLine();
- int a = Convert.ToInt32(str);
- Console.WriteLine("+");
- str = Console.ReadLine();
- int b = Convert.ToInt32(str);
- int result = a + b;
- Console.WriteLine("= " + result); ;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement