Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace ConsoleApplication2
- {
- class Program
- {
- static void Main(string[] args)
- {
- // Console.WriteLine("Hello, World!");
- //Console.Read();
- /*
- int x, y, z;
- Console.WriteLine("Podaj bok a");
- x = int.Parse(Console.ReadLine());
- Console.WriteLine("Podaj bok b");
- y = int.Parse(Console.ReadLine());
- Console.WriteLine("Wynik");
- z = x * y;
- Console.WriteLine(z);
- */
- /*
- int x = 5;
- int y = 2;
- x = int.Parse(Console.ReadLine());
- Console.WriteLine(x / y);
- */
- int kurs_USD = 3;
- int kwota_PLN;
- Console.WriteLine("Podaj kwotę w PLN");
- kwota_PLN = int.Parse(Console.ReadLine());
- Console.WriteLine(kurs_USD * kwota_PLN);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement