From 29dd09f885a09999cf32b422067f60ef5dbe70d9 Mon Sep 17 00:00:00 2001 From: Connor McDowell Date: Thu, 22 Feb 2024 17:48:43 -0800 Subject: print created --- Project1/contact.cpp | 16 ++++++++-------- 1 file 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 -- cgit v1.2.3