웹2024년 1월 14일 · You need to use a cursor so that you can loop on records in the table. Here is what I did - #create a table for sample data create table tsalary0918(Basic number,HRA number,DA number,CA number,Medical number) #inserting sample data insert into tsalary0918 values (100,100,100,100,100) #checking if data is inserted select * from … 웹2024년 10월 17일 · The user has to enter the basic salary ( an integer) and the grade ( an uppercase character ), and depending upon which the total salary is calculated as -. …
java - Calculate Total salary - Stack Overflow
웹Sample Input 1 : 2 10000 A 4567 B Sample Output 1 : 17600 8762 Explanation for Sample Input 1: Test Case 1: We have been given the basic salary as Rs. 10000. We need to … 웹2024년 2월 25일 · Gross Salary Formula in C++. Deduction = Gross Salary - PF - PT - IT. Net Salary = Gross Salary - Deduction. To find a gross salary of an Employee we need to calculate DA and HRA then the Sum Of Basic Salary + HRA + DA. after calculating the sum print the sum. So basically first we calculate a DA, and HRA after that we add basic salary … griffith alteration
Python Program To Calculate Gross Salary
웹2024년 11월 26일 · The user has to enter the basic salary (an integer) and the grade (an uppercase character), and depending upon which the total salary is calculated as - … 웹Enter basic salary. 20000. Gross Salary = 20000.000000. You can see that the answer is wrong. This is because we are dividing 20 and 40 by an integer number i.e., 100, so it returns only the integer part of the result which is 0. So 0 multiplied by anything will be 0. … 웹2024년 10월 6일 · As per the HRA calculation rules, the amount Mr Z can claim for deductions will then be the lowest of the given values: Actual rent payment – 10% of basic salary = … griffith almet engineering