aboutsummaryrefslogtreecommitdiffstats
path: root/csci4061/091420_breakout/main.c
blob: aeb989e4f94cf7acc4225ea6b0c3fb361fbcf873 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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;
}