Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ConsoleApplication2
- {
- class Program
- {
- static void Main(string[] args)
- {
- int zahl1 = Convert.ToInt32(Console.ReadLine());
- int zahl2 = Convert.ToInt32(Console.ReadLine());
- int plus = zahl1 + zahl2;
- int minus = zahl1 - zahl2;
- int mal = zahl1 * zahl2;
- double geteilt = zahl1 / zahl2;
- Console.WriteLine(zahl1 + " + " + zahl2 + " = " + plus);
- Console.WriteLine(zahl1 + " - " + zahl2 + " = " + minus);
- Console.WriteLine(zahl1 + " x " + zahl2 + " = " + mal);
- Console.WriteLine(zahl1 + " : " + zahl2 + " = " + geteilt);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement