View difference between Paste ID: ZnAN1PTb and zQEQUp7f
SHOW: | | - or go back to the newest paste.
1
#include <iostream>
2
using namespace std;
3-
int screen(int pay[])
3+
screen(int pay[])
4
{
5-
int response;
5+
6-
cout << "Which pay range would you like to increment? (1-9): ";
6+
7-
cin >> response;
7+
8
cout << "500_599:" << pay[3] << endl;
9
cout << "600_699:" << pay[4] << endl;
10
cout << "700_799:" << pay[5] << endl;
11
cout << "800_899:" << pay[6] << endl;
12
cout << "900_999:" << pay[7] << endl;
13
cout << "1000_over:" << pay[8] << endl;
14
return response;
15
}