a = Console.ReadLine(); b = Console.ReadLine(); a = a + b; Console.WriteLine(a);
4 :
電卓技術教科書に作り方が書いてあるらしい。
5 :
string a; string b; int c; int d; a = Console.ReadLine(); b = Console.ReadLine(); c = Convert.ToInt32(a); d = Convert.ToInt32(b); c = c + d; Console.WriteLine(c);
string a; string b; int c; int d; while (a != end) a = Console.ReadLine(); b = Console.ReadLine(); c = Convert.ToInt32(a); d = Convert.ToInt32(b); c = c + d; Console.WriteLine(c); }