Write a shell program. Enter basic pay of an employee and
calculate DA, HRA, Deduction, Gross pay and Net pay as follows:
DA = 75 % of BASIC
HRA = 10 % of BASIC
DEDUCTION = 15 % of BASIC
GROSS PAY = BASIC+DA+HRA
NET PAY = GROSS PAY-DEDUCTION.
Answer Posted / mishra@deepa
sorry, i m not writng the code here,
but u can do such type of decimal calculation by using bc
(binary calculator) option.
| Is This Answer Correct ? | 11 Yes | 10 No |
Post New Answer View All Answers
pleasew define carrier scope in abap (sap).
When will you use shell script/Perl ahead of C/C++?
Given an array all of whose elements are positive numbers, find the maximum sum of a subsequence with the constraint that no 2 numbers in the sequence should be adjacent in the array. So 3 2 7 10 should return 13 (sum of 3 and 10) or 3 2 5 10 7 should return 15 (sum of 3, 5 and 7)
Suppose server object is not loaded into the memory, and the client request for it , what will happen?
write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.
In OB52 , How to define two open posting period, Like only 5 and 8 posting should be open.. should not open 6 and 7..period..
Describe the difference between Interface-oriented, Object-oriented and Aspect-oriented programming
1. Consider the following code in our example assembly language: ; an example bit of assembly code ROOT: W FATHER FATHER: W SON1 W SON2 SON1: W NIL W NIL ; ---------------------- SON2: W GRANDSON W NIL GRANDSON: W NIL W NIL NIL = 0 Assemble this code carefully following the two pass model, and show the symbol table at the point marked by the dashed line during each pass.
suppose we have ten members of a physical file but we want the output of last 5 members only.how to achieve that?
What is the Difference between in memory database and physical database
what is the difference between Windows application and Unix application?
Find out the list of roles which gives access to GUI activities? thanks in advance
qtp 9.2 14 days demo version was expired.I uninstalled how to reinstall this again
what are all the validation we need to perform in data stage?
how to check single or double byte in struts