EricJohnson

array-screen

Apr 23rd, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. using namespace std;
  3. screen(int pay[])
  4. {
  5. cout << "200_299:" << pay[0] << endl;
  6. cout << "300_399:" << pay[1] << endl;
  7. cout << "400_499:" << pay[2] << endl;
  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. }
Advertisement
Add Comment
Please, Sign In to add comment