This Python program calculates how much the company's annual cost will increase if each specialist receives a 12.5% salary raise.
The base monthly salary per specialist is 7500 tomans. The program reads the number of specialists and computes the total annual increase.
# Constants
base_salary = 7500 # Monthly salary in tomans
raise_percent = 12.5
# Get number of specialists
num_specialists = int(input("Enter the number of specialists: "))
# Calculate monthly and annual increase per specialist
monthly_increase = base_salary * (raise_percent / 100)
annual_increase_per_specialist = monthly_increase * 12
# Calculate total annual increase for all specialists
total_annual_increase = annual_increase_per_specialist * num_specialists
# Display result
print("\n--- Salary Increase Summary ---")
print("Monthly raise per specialist:", monthly_increase, "tomans")
print("Annual raise per specialist:", annual_increase_per_specialist, "tomans")
print("Total annual cost increase:", total_annual_increase, "tomans")
Enter the number of specialists: 10
--- Salary Increase Summary ---
Monthly raise per specialist: 937.5 tomans
Annual raise per specialist: 11250.0 tomans
Total annual cost increase: 112500.0 tomans
- The program uses a fixed base salary of 7500 tomans
- A 12.5% raise is applied to calculate the monthly and annual increase
- The number of specialists is entered by the user
- The total annual cost increase is computed and displayed