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 are the missinschema properties and should we pass primary key in select command

0 Answers  


What do you mean by text editor?

1 Answers   Infosys,


Explain the difference between an expert and a novice user. How would your strategy for designing user interfaces for an expert user differ from that for designing user interfaces for a novice user.

0 Answers  


Define distributed queries. can you explain me as soon as possible

0 Answers   HCL,


Given an array of size n, containing every element from 1 to n+1, except one. Find the missing element.

0 Answers   Amazon,






5. Which of the following can you do with DB2 Express- C? Query databases with SQL Query databases with XML using XQuery and XPath Use SQL in Xquery and Xquery in SQL All of the above

0 Answers  


In Java what is the difference between following two statements ? int a[],b; int []a,b;

1 Answers  


what is difference between sap and java ?

1 Answers  


Find out the list of roles which gives access to GUI activities? thanks in advance

0 Answers  


An image map is a collection of

1 Answers   Velocis,


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

0 Answers   TCS,


Diff between Proc transpose and Arrays with example?

2 Answers   Accenture,


Categories