Advertisement
cska1312

Main.cpp

Feb 15th, 2023
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include "Person.h"
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9.   Person p1 = Person("123", "Ivan", "Ivanov", "Master", "Bulgaria");
  10.   p1.introduce();
  11.   cout << endl << endl;
  12.   Person p2 = Person("24", "Mitko", "Ivailov", "Superman", "England");
  13.   p2.introduce();
  14.   cout << endl << endl;
  15.   Person p3 = Person("12", "Maria", "Petrova", "Boss", "Germany");
  16.   p3.introduce();
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement