aboutsummaryrefslogtreecommitdiffstats
path: root/csci4061/091420_breakout/main.c
diff options
context:
space:
mode:
authorMatthew Strapp <msattr@gmail.com>2020-09-15 13:16:09 -0500
committerMatthew Strapp <msattr@gmail.com>2020-09-15 13:16:09 -0500
commitccd82f53b74a1bac542d66eb7320fd2be5a9fd5a (patch)
tree35ae7abc6f9dcf44416511a1d4812263f34fab2d /csci4061/091420_breakout/main.c
parentadd gitignore (diff)
downloadhomework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar
homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.gz
homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.bz2
homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.lz
homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.xz
homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.tar.zst
homework-ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a.zip
add first breakout
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