using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //Dzialania arytmetyczne namespace ConsoleApplication2 { class Program { static void Main(string[] args) { float z; Console.Write("Podaj x="); float x = Convert.ToInt32(Console.ReadLine()); Console.Write("Podaj y="); float y = Convert.ToInt32(Console.ReadLine()); z = x + y; Console.Write("\nSuma " + x + " + " + y + " = " + z); z = x - y; Console.Write("\nRoznica " + x + " - " + y + " = " + z); z = x * y; Console.Write("\nIloczyn " + x + " * " + y + " = " + z); z = x / y; Console.Write("\nIloraz " + x + " * " + y + " = " + z); z = x % y; Console.Write("\nReszta z dzielenia " + x + " % " + y + " = " + z); Console.ReadKey(); } } }