Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // There still bugs!!!!
- //will be fixed on 5.3.2021
- #include <iostream>
- #include "Phone.h"
- #include "CellPhone.h"
- #include "CellNoCam.h"
- using namespace std;
- void main()
- {
- cout << "***************welcome to phome Management System***************" << endl;
- Tryagain:;
- int user_choise;
- cout << "Hello customer please press your choise" << endl;
- cout << "1 -> Line Phone." << endl;
- cout << "2 -> Cell Phone." << endl;
- cout << "3 -> Cell Phone no camera." << endl;
- cout << "4 -> exit." << endl;
- cin >> user_choise;
- switch (user_choise)
- {
- case 1:
- cout << "Line Phone was chosen" << endl;
- //
- //
- //
- break;
- case 2:
- cout << "Cell Phone was chosen" << endl;
- //
- //
- //
- break;
- case 3:
- cout << "Cell Phone no camera was chosen" << endl;
- //
- //
- //
- break;
- case 4:
- cout << "Have a nice day thank you for using our program" << endl;
- break;
- }
- cout << "Error Worng number was pressed please try again" << endl;
- goto Tryagain;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement