Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Console.WriteLine("Podaj imię i nazwisko osoby, którą chcesz sprawdzić (oddziel je enterem): ");
- string name = Console.ReadLine();
- string surname = Console.ReadLine();
- kartoteka.Osoba u = new kartoteka.Osoba(name, surname);
- if (Kartoteka.czyZawiera(u)) Console.WriteLine("Kartoteka zawiera tę osobę!");
- else Console.WriteLine("Kartoteka nie zawiera tej osoby!");
Advertisement
Add Comment
Please, Sign In to add comment