I want to input various components of employee's salary (like HRA,Basic,etc.,) in separate textboxes, the want to calculate the derived components (like actual CTC,Gross,etc.,)through a button click. what is the appropriate way to code such a function?
Thanks to all(in advance).