diff options
| author | Connor McDowell <[email protected]> | 2024-02-22 17:48:43 -0800 |
|---|---|---|
| committer | Connor McDowell <[email protected]> | 2024-02-22 17:48:43 -0800 |
| commit | 29dd09f885a09999cf32b422067f60ef5dbe70d9 (patch) | |
| tree | 683c52617c40115f1533fa599a52743c00d4d2b2 | |
| parent | contact.cpp set with setter and getter functs (diff) | |
| download | in-class-exercise-13-connormcdowell275-29dd09f885a09999cf32b422067f60ef5dbe70d9.tar.xz in-class-exercise-13-connormcdowell275-29dd09f885a09999cf32b422067f60ef5dbe70d9.zip | |
print created
| -rw-r--r-- | Project1/contact.cpp | 16 |
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 |