
xn
Question 2: Write a java program to calculate the net salary for the employee after deducting the due taxes. The due tax is calculated according to the following formulas. Basic salary; Question: Question 2: Write a java program to calculate the net salary for the employee after deducting the due taxes. The due tax is calculated according to. class="algoSlug_icon" data-priority="2">Web. Question: Write a shell script to develop an APP to calculate the net salary of an employee. The DA, HRA, TA and Other Allowances (OA) are given. Follow the constraints and find out the amount to be deducted using the proper PF and IT calculation. Your APP has to display its contents with the menu option and the input is the Basic salary. DA .... class="algoSlug_icon" data-priority="2">Web. class="algoSlug_icon" data-priority="2">Web. class="algoSlug_icon" data-priority="2">Web. Kindly calculate..the 30% basic in the CTC. 40% HRA in the Baic. TA deduction (approx 800/month). PF-12% of Basic. Bonus - 10% Baic. (I think he/she is not application to ESIC deductions). Medclaim - as per company agreement with (Insurance commpany). Other Balance amount to be in special pay. Regards. class="algoSlug_icon" data-priority="2">Web. Sep 28, 2012 · I'm trying to write a C++ program to compute and display a person’s salary as determined by the following expressions: If hours worked <= 40, the person receives $8/hour otherwise, Person receives the first 40hrs @ $8/hr remaining hrs at 1.5x basic rate. Program should request: 1) hours worked (input) 2) display the salary earned (output).. Hi Venkata, According to your description, I suggest you to create two tables, one for the personal information of employee and the other for the information of the salary of employee. We can set the column 'employee number' as primary key of these two tables, please refer to the following example to create the tables: 1. Create the table for personal information of employee:. Q. Write a program to calculate net salary after inputting basic salary, hra%, da% and tax% net = basic + hra + da - tax Answer = basic = float (input ("Enter basic salary :-")) hra = float (input ("Enter hra% :-")) da = float (input ("Enter da% :-")) tax = float (input ("Enter tax% :-")) print ("Net price = ", basic + hra + da - tax ) Output :-. hra = basic_pay*0.1 # hra is 10 % of basic pay ta = basic_pay*0.05 # ta is 5 % of basic pay total_salary = basic_pay + hra + ta professional_tax = total_salary*0.02 # professional tax is 2 % of total salary salary_payable = total_salary - professional_tax print ("Salary Payable is",salary_payable) except ValueError:. class="algoSlug_icon" data-priority="2">Web. Write a C++ program to read data of N employee and computer net salary of each employee (DA = 52% of Basic and IT = 30% of the gross salary). Procedure. Step 1 - Include the required header files (iostream.h, conio.h, and windows.h for colors). Step 2 - Create a class Employee with the following members. class="algoSlug_icon" data-priority="2">Web. The process that I'm trying to create is when a user inputs a number it gets detected by the IF statement to display which tax rate it goes under 20%, 40% or 45%, the amount of tax and the salary after for example If 10,000 inputted the tax rate shows 20% of that which calculates the amount of tax "2000" and the salary after tax "8000".These are the calculations I'm trying to workout, "0 to. Feb 09, 2021 · (Actual rent paid) – (10% of the basic salary) = Rs. 12,000 – (10% of Rs. 23,000) = Rs. 9,700; or Actual HRA offered by the employer = Rs. 15,000; or 50% of the basic salary = 50% of Rs. 23,000 = Rs. 11,500. The least of the above three is the actual amount paid as rent minus 10% of the basic salary. Hence, Mr.. class="algoSlug_icon" data-priority="2">Web. Feb 28, 2022 · In this article, we will understand how we could create a basic Salary Calculator in TypeScript by using simple mathematical logics and operators (like divide (“/”) or multiply (“*”) or addition (“+”)). Syntax: Following is the syntax of enums: enum enums_name { ....... } Syntax: Following is the class declaration. class="algoSlug_icon" data-priority="2">Web. This python program is using if else statement to compute the gross salary from basic salary input. Here we have two different logic's to compute gross salary. so we are using if and else statements. #!/usr/bin/python # function computes the gross salary from basic salary. def calcualte_gross_salary (basic_salary): hra = 0; da = 0; # salary is .... /*Write a java program to calculate gross salary & net salary taking the following data. Input:empno,empname,basic Process: DA=50%of basic, HRA=25%of basic, CCA=Rs240/-, PF=10%of basic, PT=Rs100/-*/ import java.util.*; class Em { public static void main (String []args) { float DA,HRA,PF,gr_sal,net_sal; float CCA=240f,PT=100f;. class="algoSlug_icon" data-priority="2">Web. class="algoSlug_icon" data-priority="2">Web. Sep 26, 2021 · Get Basic Salary of Employee, DA = 25% of Basic, HRA = 15% of Basic, PF = 12% of Basic, TA = 7.50% of Basic. Net Pay = Basic + DA + HRA + TA Gross Pay = Net Pay - PF. ''' print ("SALARY PROGRAM") name= str (input ("Enter name of employee:")) basic=float (input ("Enter Basic Salary :")) da=float (basic*0.25) hra=float (basic*0.15). class="algoSlug_icon" data-priority="2">Web. //Calculating net salary by adding basicSalary, hra, da and deducting PF from that netSalary = basicSalary + hra + da - PF; System.out.println("The Basic salary is:" + basicSalary); System.out.println("The HRA is:" + hra); System.out.println("The DA is:" + da); System.out.println("The PF is:" + PF);. C# program to Enter Basic Salary of staff. Calculate and print Dearness Allowance 20%, Commission 10%, House Rent Allowance 25% and Govt. Tax Deduction 20%. Calculate Gross Salary of 5 staff.* C# program to Calculate gross Salary of an Employee.