aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraquelc <[email protected]>2024-03-07 17:53:43 -0800
committerraquelc <[email protected]>2024-03-07 17:53:43 -0800
commit2186493fe8ad07f1a9bdb6c09ff86c3c0fc269d8 (patch)
tree09b3dfae583a0dc76c4c6d49a0dc01ac1cb0472d
parentcommit files (diff)
downloadarchived-homework-6-raquel191-2186493fe8ad07f1a9bdb6c09ff86c3c0fc269d8.tar.xz
archived-homework-6-raquel191-2186493fe8ad07f1a9bdb6c09ff86c3c0fc269d8.zip
commit
-rw-r--r--hw6/hw6/contacts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw6/hw6/contacts.cpp b/hw6/hw6/contacts.cpp
index 6b5be1c..05cd8ea 100644
--- a/hw6/hw6/contacts.cpp
+++ b/hw6/hw6/contacts.cpp
@@ -49,8 +49,8 @@ void Printcontacts(contact(&contacts)[10]) {
}
void update(contact(&contacts)[10]) {
- //cout << "Print contact to update" << endl;
- /*
+ cout << "Print contact to update" << endl;
+
Printcontacts(contacts);
int num = 0;
cout << "Enter contact number to update" << endl;
@@ -58,9 +58,9 @@ void update(contact(&contacts)[10]) {
contacts[num] = InputNewcontact();
- */
-
+
+
}