aboutsummaryrefslogtreecommitdiffstats
path: root/csci4061/091420_breakout/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--csci4061/091420_breakout/main.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/csci4061/091420_breakout/main.c b/csci4061/091420_breakout/main.c
new file mode 100644
index 0000000..aeb989e
--- /dev/null
+++ b/csci4061/091420_breakout/main.c
@@ -0,0 +1,36 @@
+/*
+ * Recitation section number:
+ * Breakout Group Number:
+ * Member name (email address):
+ * Member name (email address):
+ * Member name (email address):
+ * Member name (email address):
+ * Member name (email address):
+ * Member name (email address):
+ * Member name (email address):
+ */
+
+#include "include/main.h"
+#include "include/name.h"
+#include "include/address.h"
+#include "include/major.h"
+
+int main() {
+
+ char name[maxLen];
+ char address[maxLen];
+ char major[maxLen];
+
+ printf("Hi there! \nTell me more about you.\n");
+ getName(name);
+ getAddress(address);
+ getMajor(major);
+
+ printf("Thanks for your information!\n");
+ printf("Your name: %s", name);
+ printf("Your address: %s", address);
+ printf("Your major: %s", major);
+ printf("Bye!\n");
+
+ return 0;
+} \ No newline at end of file