/* © MATTO MATTI 2017 http://mattomatti.com/pl/cs03 napisane przy użyciu Visual Studio Community 2015 2017-08-19 v 1.0 */ using System; namespace plcode1cs { class Program { static void Main(string[] args) { Console.WriteLine("Podaj tekst: "); string str; str = Console.ReadLine(); Console.WriteLine("Wczytano: " + str); Console.WriteLine("Podaj liczbę: "); int i; str = Console.ReadLine(); i = Convert.ToInt32(str); Console.WriteLine("Wczytano: {0}", i); int a = 3; Console.WriteLine("Kolejne liczby to: {0}, {1}, {2}", a, a + 1, a + 2); float b = 3.14f; Console.WriteLine("(E) b = {0:E}", b); Console.WriteLine("(C) b = {0:C}", b); Console.ReadKey(); } } }