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.



Write a shell program. Enter basic pay of an employee and calculate DA, HRA, Deduction, Gross pay a..

Answer / 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

More Programming Languages AllOther Interview Questions

What is Negative testing?

0 Answers  


I'm new to ABAP. What is Module pool in SAP?

0 Answers   TCS,


what is difference between sap and java ?

1 Answers  


what is runtime exception and compiletime exception ?

1 Answers   Accenture,


which one is the best practice using synchronization method or synchronization block

1 Answers   TCS,






What is meant by SQL,PL/SQL,SQL PLUS? Is there any differnece between them?

2 Answers   HSBC,


Ordered List tag is

1 Answers  


How to swap two String values without using a third variable?

8 Answers   Infosys,


what is the exact full form of OOPS,O -> object O -> oriented P -> programing S-> ? ....

16 Answers  


What is easiest way to get the PL/i compiler,I didn't have found the compiler in my library. Is there any extra cost if we want to access the PL/1 programs?Actually we r having Mainframe rented training Ids

0 Answers  


What is the GAC? What problem does it solve?

2 Answers  


Indentify the essential difference between GUI and a command line operating systems?

1 Answers   Deloitte, Infosys, Wipro,


Categories