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


Please Help Members By Posting Answers For Below Questions

What is test execution and when will we start execution please send me one example for this question

1421


THE CHANNEL IN DATA COMMUNICATION CAN BE?

1562


what are the advantages of sap on other software ?

1726


3 members in a pf.how we read 3 members without using ovrdbf.using rg pgms....

1663


is it acceptable if we declare multiple exceptions in same overridden method.

2108






how to stop execution of step 3 in a job mainframe

1707


What is the difference between DECISION COVERAGE(DC) and MODIFIED CONDITION/DECISION COVERAGE(MCDC)?

1768


what is session state?

1514


In mainframe SDSF, Can we copy the list of jobs currently executing in SDSF in to a seperate DATASET...?

1844


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

1402


What is the use of sas software? Is sas and sap are different?

1009


what is difference between object oriented programming structure and object oriented programming system?

1435


can we extend a class having only one parameterised constructor.Suggest the process to do it.

2048


how to generate dsnless connectivity in j2ee

1520


what is the diffrence between software and hardware language?

1812