From ccd82f53b74a1bac542d66eb7320fd2be5a9fd5a Mon Sep 17 00:00:00 2001 From: Matthew Strapp Date: Tue, 15 Sep 2020 13:16:09 -0500 Subject: add first breakout --- csci4061/091420_breakout/main.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 csci4061/091420_breakout/main.c (limited to 'csci4061/091420_breakout/main.c') 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 -- cgit v1.2.3