martin is eating a cookie

Cookie policy

Our website uses cookies to understand how people use it in order to improve your website experience. By klicking on the "Accept"-button below you consent to our use of cookies as defined in our cookie policy. You have the right of withdrawal at any time. Details about our cookies and the possibility to change the settings can be found via the "Change cookie settings"-button. To read our full data policy please click here.

# Pay Fixation Software (PRC 2010)

# Calculate HRA if pay_band == 1: hra = basic_pay * 0.1 elif pay_band == 2: hra = basic_pay * 0.15 elif pay_band == 3: hra = basic_pay * 0.2 else: hra = basic_pay * 0.25

# Example usage basic_pay = float(input("Enter Basic Pay: ")) da = float(input("Enter Dearness Allowance: ")) grade_pay = int(input("Enter Grade Pay: "))