Advertisement
Seedx

wywolywacz

Apr 4th, 2020
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.69 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. namespace zadanie_3._1
  5. {
  6.     class Program
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.  
  11.             Karty k1 = new Karty(40, 0);
  12.             Karty k2 = new Karty(80, 2);
  13.             Karty k3 = new Karty(60, 8);
  14.             Karty k4 = new Karty(100, 12);
  15.             Console.WriteLine("Kolor karty: {0}, wartość: {1}", k1.kolor, k1.wartosc);
  16.             Console.WriteLine("Kolor karty: {0}, wartość: {1}", k2.kolor, k2.wartosc);
  17.             Console.WriteLine("Kolor karty: {0}, wartość: {1}", k3.kolor, k3.wartosc);
  18.             Console.WriteLine("Kolor karty: {0}, wartość: {1}", k4.kolor, k4.wartosc);
  19.         }
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement