Brokerage

struct Stock{ string Name; double price; }; class Brokerage{ public: private: }; int main(){ bool cond = true; cout<<"BrokerageMain"<<endl; cout<<"(1)Diplay the Brokerage State"<<endl; <<"(2)Add a new Patron to the Brokerage"<<endl; <<"(3)Check Patron Status"<<endl; <<"(4)Collective Patron Information"<<endl; <<"(5)Patron Deposit"<<endl; <<"(6)Patron Withdrawl"<<endl; <<"(7)Shares Patron Sale"<<endl; <<"(8)Shares Patron Buy"<<endl; <<"(9)Overdrawn Patrons"<<endl; <<"(10)Complete List of Patron Transactions"<<endl; <<"(11)Quit"<<endl; while(cond){ switch(){ case 1: break; case 2: break; case 3: break; case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: cond =false; break; default: cout<<"Unavailable option."<<endl; } } }

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.