Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int screen(int pay[])
- {
- int response;
- cout << "Which pay range would you like to increment? (1-9): ";
- cin >> response;
- cout << "200_299:" << pay[0] << endl;
- cout << "300_399:" << pay[1] << endl;
- cout << "400_499:" << pay[2] << endl;
- cout << "500_599:" << pay[3] << endl;
- cout << "600_699:" << pay[4] << endl;
- cout << "700_799:" << pay[5] << endl;
- cout << "800_899:" << pay[6] << endl;
- cout << "900_999:" << pay[7] << endl;
- cout << "1000_over:" << pay[8] << endl;
- return response;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement