Assignment5

advertisement
‫المملكة العربية السعودية‬
‫وزارة التعليم العالي‬
‫جامعة المجمعة‬
‫كلية علوم الحاسب وتقنية المعلومات‬
Kingdom of Saudi Arabia
Ministry of Higher Education
Majmaah University
Computer Science and Information Technology College
Assignment Due Date Wednesday May 6
Assignment 5
Write a complete C++ program that reads number of employees, and then initialize an array to
store employee's salaries. Your program should read the salaries from the user then add 250 as
a bounce for salaries less than 5000 Saudi Riyal.
Example of the output
Enter the number of employees: 4
Enter their salaries: 6000 3500 10000 2000
The salaries after updating: 6000 3750 10000 2250
1
Download