Pp9

Untitled

Pp9
Apr 15th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. Console.WriteLine("Podaj imię i nazwisko osoby, którą chcesz sprawdzić (oddziel je enterem): ");
  2. string name = Console.ReadLine();
  3. string surname = Console.ReadLine();
  4. kartoteka.Osoba u = new kartoteka.Osoba(name, surname);
  5. if (Kartoteka.czyZawiera(u)) Console.WriteLine("Kartoteka zawiera tę osobę!");
  6. else Console.WriteLine("Kartoteka nie zawiera tej osoby!");
Advertisement
Add Comment
Please, Sign In to add comment