aboutsummaryrefslogtreecommitdiff
path: root/Homework6/Contacts.h
diff options
context:
space:
mode:
authorAsahel <[email protected]>2024-03-01 09:28:56 -0800
committerAsahel <[email protected]>2024-03-01 09:28:56 -0800
commit3b114c34920b3eb4b56143d432f8bee3ec9b89e6 (patch)
tree1e3fbb608cca2962d3152fcc0a4613516dacbf11 /Homework6/Contacts.h
parentadd deadline (diff)
downloadarchived-homework-6-asahellt-3b114c34920b3eb4b56143d432f8bee3ec9b89e6.tar.xz
archived-homework-6-asahellt-3b114c34920b3eb4b56143d432f8bee3ec9b89e6.zip
Added files
Diffstat (limited to 'Homework6/Contacts.h')
-rw-r--r--Homework6/Contacts.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/Homework6/Contacts.h b/Homework6/Contacts.h
new file mode 100644
index 0000000..7aded7d
--- /dev/null
+++ b/Homework6/Contacts.h
@@ -0,0 +1,21 @@
+#ifndef CONTACT_H
+#define CONTACT_H
+
+struct Contact
+{
+ char Name[25] = {};
+ char Email[100] = {};
+ char StreetAddress[35] = {};
+ char City[30] = {};
+ char State[2] = {};
+ int Zip = 0;
+};
+
+Contact InputNewContact();
+Contact ContactUpdate();
+
+void PrintContacts(Contact(&contacts)[10]);
+void ContactUpdate(Contact(&contacts)[10]);
+
+#endif // !CONTACT_H
+