Skip to content
Snippets Groups Projects
Commit 47896d89 authored by Rudi Buss's avatar Rudi Buss
Browse files

Update Exercise 4 - Personal information.txt

parent d5048ea8
No related branches found
No related tags found
No related merge requests found
Create a program with a class named Person that saves some data (last name, first name, age) of a person. A member function called ãInsertÒ adds data to the data members of the class.
A member function called ãCompareÒ should also be created in the class.
Create a program with a class named Person that saves some data (last name, first name, age) of a person. A member function called "Insert" adds data to the data members of the class.
A member function called "Compare" should also be created in the class.
A person calls this member function and an additional person should exist as a transfer parameter.
This member function is used to check and display which of the two persons is older.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment