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
What is test execution and when will we start execution please send me one example for this question
THE CHANNEL IN DATA COMMUNICATION CAN BE?
what are the advantages of sap on other software ?
3 members in a pf.how we read 3 members without using ovrdbf.using rg pgms....
is it acceptable if we declare multiple exceptions in same overridden method.
how to stop execution of step 3 in a job mainframe
What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?
what is session state?
In mainframe SDSF, Can we copy the list of jobs currently executing in SDSF in to a seperate DATASET...?
When we delete logfiles such as screenshots how does it affect the ldf file? Ive seen huge change while adding screenshots in the ldf file but a very minor one deleting them.Please Explain
What is the use of sas software? Is sas and sap are different?
what is difference between object oriented programming structure and object oriented programming system?
can we extend a class having only one parameterised constructor.Suggest the process to do it.
how to generate dsnless connectivity in j2ee
what is the diffrence between software and hardware language?