/afs/rpi.edu/home/74/olsong/perl-hw3 (3) ./lallip_hw3.pl
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
1
Please enter the name of the new company
GavCo
GavCo added, thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
1
Please enter the name of the new company
SmithCo
SmithCo added, thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
2
Please select one of the following companies:
SmithCo, GavCo
GavCo
In what city is GavCo located?
Ledyard
And in what state is GavCo located?
CT
GavCo's location updated. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
2
Please select one of the following companies:
SmithCo, GavCo
SmithCo
In what city is SmithCo located?
Chicago
And in what state is SmithCo located?
IL
SmithCo's location updated. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
3
Please select one of the following companies:
SmithCo, GavCo
SmithCo
What is the name of the president of SmithCo?
John Smith
SmithCo's president updated. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
4
Please select one of the following companies:
SmithCo, GavCo
SmithCo
Enter the name of the new board member:
Jack Smack
Jack Smack added to SmithCo's board. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
4
Please select one of the following companies:
SmithCo, GavCo
SmithCo
Enter the name of the new board member:
Screwy Louie
Screwy Louie added to SmithCo's board. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
3
Please select one of the following companies:
SmithCo, GavCo
GavCo
What is the name of the president of GavCo?
Gavin Olson
GavCo's president updated. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
4
Please select one of the following companies:
SmithCo, GavCo
GavCo
Enter the name of the new board member:
Delectible Danish
Delectible Danish added to GavCo's board. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
4
Please select one of the following companies:
SmithCo, GavCo
GavCo
Enter the name of the new board member:
Deleted Dude
Deleted Dude added to GavCo's board. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
5
Please select one of the following companies:
SmithCo, GavCo
GavS
Sorry, no such company exists
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
5
Please select one of the following companies:
SmithCo, GavCo
GavCo
GavCo's current board members: Deleted Dude, Delectible Danish
Enter the name of the board member to remove:
Deleted Dude
Deleted Dude removed from GavCo's board. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
6
Please enter the template file name:
hw3-template1.txt
Please select one of the following companies:
SmithCo, GavCo
SmithCo
SmithCo.txt created from hw3-template1.txt. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
6
Please enter the template file name:
hw3-template2.txt
Please select one of the following companies:
SmithCo, GavCo
GavCo
GavCo.txt created from hw3-template2.txt. Thank you.
Please select one of the following seven options:
1) Add a new company.
2) Enter a company location.
3) Enter a president's name.
4) Add a board member.
5) Remove a board member.
6) Fill out template.
7) Exit.
7
Thank you for using this system. Good day.