Advertisement
Guest User

fb.cxx

a guest
Aug 22nd, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.84 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. { int id,pd[10],a;
  6.     cout << "\t\tFACEBOOK\n";
  7.     cout <<"\tWelcome to facebook"<<endl;
  8.     cout <<"Enter your Email I'd- ";
  9.     cin>>id;
  10.     cout<<"Enter your password-";
  11.    cin>>pd;
  12.    clrscr();
  13.    cout<<"\t\tFACEBOOK\n";
  14.    cout<<"Enter your choice- \n1-Newsfeed\n2-Friend request\n3-Chat\n4-Notification\n5-Setting\n6-Logout\n";
  15.    cin>>a;
  16.    switch(a)
  17.    {case 1:
  18.    cout<<"your news feed doesn't work ,please check your network";break;
  19.   case 2:
  20.   cout<<"you have 5 new friends request ";break;
  21.   case 3:
  22.   cout<<"you have 3 new messages ";break;
  23.   case 4:
  24.   cout<<"you have 2 notifications";break;
  25.   case 5:
  26.   cout<<"*chat setting \n*general settings \n*app settings\n*backup settings";break;
  27.    case 6:
  28.    clrscr();
  29.    cout<<"logout";break;
  30.    default :
  31.    cout<<"Wrong key";
  32.    }
  33.     return 0;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement