Using While loop - Employees are paid on a company that provides a salary based on their number of years of work experience. For example, a beginning employee might be paid $20,000 the first year. For each year of experience after this first year, up to 12 years, the teacher receives a 2% increase over the preceding value. Write a program that displays a salary schedule.
The inputs are the starting salary, the percentage increase, and the number of years in the schedule. The output shows list of [the year ] and [the salary for that year.]
ما الخطأ في الكود علما انه يعطيني نفس salary لكل سنة ؟
السؤال
Basil Rizeigat
Using While loop - Employees are paid on a company that provides a salary based on their number of years of work experience. For example, a beginning employee might be paid $20,000 the first year. For each year of experience after this first year, up to 12 years, the teacher receives a 2% increase over the preceding value. Write a program that displays a salary schedule.
The inputs are the starting salary, the percentage increase, and the number of years in the schedule. The output shows list of [the year ] and [the salary for that year.]
ما الخطأ في الكود علما انه يعطيني نفس salary لكل سنة ؟
6 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.