Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- namespace zadanie_3._1
- {
- class Program
- {
- static void Main(string[] args)
- {
- Karty k1 = new Karty(40, 0);
- Karty k2 = new Karty(80, 2);
- Karty k3 = new Karty(60, 8);
- Karty k4 = new Karty(100, 12);
- Console.WriteLine("Kolor karty: {0}, wartość: {1}", k1.kolor, k1.wartosc);
- Console.WriteLine("Kolor karty: {0}, wartość: {1}", k2.kolor, k2.wartosc);
- Console.WriteLine("Kolor karty: {0}, wartość: {1}", k3.kolor, k3.wartosc);
- Console.WriteLine("Kolor karty: {0}, wartość: {1}", k4.kolor, k4.wartosc);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement