using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp25 { class Program { static void Main(string[] args) { int Iloczyn = iloczyn(2, 3); Console.WriteLine(Iloczyn); wypisz("witaj"); int Iloczyn1 = iloczyn1(2, 3); Console.WriteLine(Iloczyn1); int Iloczyn2 = iloczyn2(2, 3); Console.WriteLine(Iloczyn2); int Iloczyn3 = iloczyn3(2, 3); Console.WriteLine(Iloczyn3); Console.ReadLine(); } static void wypisz(string tekst) { Console.WriteLine(tekst); } static int iloczyn(int liczba1, int liczba2) { int wynik = liczba1 * liczba2; return wynik; } static int iloczyn1(int liczba1, int liczba2) { int wynik = liczba1 + liczba2; return wynik; } static int iloczyn2(int liczba1, int liczba2) { int wynik = liczba1 - liczba2; return wynik; } static int iloczyn3(int liczba1, int liczba2) { int wynik = liczba1 / liczba2; return wynik; } } }