aboutsummaryrefslogtreecommitdiff
path: root/Project1/contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project1/contact.cpp')
-rw-r--r--Project1/contact.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Project1/contact.cpp b/Project1/contact.cpp
index 8fbc17e..b195609 100644
--- a/Project1/contact.cpp
+++ b/Project1/contact.cpp
@@ -68,13 +68,13 @@ char* contact::Get_email()
}
-
-
-
-
void contact::print()
{
- /*cout << "name: " << _name << endl;
- cout << "age: " << _age << endl;*/
-
-}
+ cout << "Full name: " << _firstName << " " << _lastName << endl;
+ cout << "Street Address: " << _streetAddress << endl;
+ cout << "City: " << _city << endl;
+ cout << "State: " << _state << endl;
+ cout << "Zip code: " << _zip << endl;
+ cout << "Email: " << _email << endl;
+
+} \ No newline at end of file