Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int GetOperator(){
- int op;
- cout << "Please select ......." << endl;
- cin >> op;
- while(op >4 || op < 1){
- cout << "Incorrect. Retry." << endl;
- cout << "Please select ......." << endl;
- cin >> op;
- }
- return op;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement