main - 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 #include <iostream> 2 #include <cstdio> 3 #include "MemberDetails.cpp" 4 #include "Buy.cpp" 5 #include "Member.cpp" 6 #include "NormalCustomer.cpp" 7 8 using namespace std ; 9 10 int main () 11 { 12 13 char RepeatReigon ; 14 do { 15 char Option ; 16 cout << "\t\t\t ________________" << endl ; 17 cout << "\t\t\t| Sunshine Shoes |" << endl ; 18 cout << "\t\t\t|_____Store______|" << endl ; 19 cout << " " << endl ; 20 cout << "\t\t\t Main Menu\n" << endl ; 21 cout << "\n\t\tChoose 1 To Create Customer Record" << endl ; 22 cout << "\n\t\tChoose 2 To Member Buy" << endl ; 23 cout << "\n\t\tChoose 3 To NormalCustomer Buy" << endl ; 24 cout << "\n\t\tChoose 4 To Delete Members" << endl ; 25 cout << "\n\t\tChoose 5 To Exit" << endl ; 26 27 cout << "---------------------------------------------------------------------------------\n" << endl ; 28 cin >> Option ; 29 30 switch ( Option ) 31 { 32 33 case '1' :{ 34 cout << "\n\t\tYou chose option 1" << endl ; 35 36 MemberDetails memb ; 37 38 char SaveInfo ; 39 do { 40 string fn , ln , cn , ad , em ; 41 42 cout << "\t\t Enter First Name :" << endl ; 43 cin >> fn ; 44 cout << "\t\t Enter Last Name :" << endl ; 45 cin >> ln ; 46 cout << "\t\t Enter PhoneNumber Number :" << endl ; 47 cin >> cn ; 48 cout << "\t\t Enter Address :" << endl ; 49 cin >> ad ; 50 cout << "\t\t Enter Email Address :" << endl ; 51 cin >> em ; 52 53 memb . setCutomerInfo ( fn , ln , cn , ad , em ); 54 memb . getCustomerInfo (); 55 56
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern