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
we create a pf with 3 fields.2 is defined as keyfields.we lock it with alcobj command.how we find out whether the file is locked or not?is it dspfd??/
How to create a new dataset only duplicate observations in proc sort procedure?
how to data grid use in data bind?
Hi guyes, I have cleared 2 technical rounds with cts for liferay and java techonologies, i have client round next week, please tell me how to prepare for this what questions i should be ready to face?
Which language they use during interview?
1.how to deploy the Maven application in weblogic server? 2.In Real time projects all classes are singleton or some classes only singleton explain? 3.what are the major uses of the designpatterns? 4.explain restful &Soap based services explain?
i want to improve my english vocab for racking campus written exam plz tell me best book for prepration......
I want to insert date in the form of yyyy-mm-dd... if any changes happen while inserting date format want to show error meg...any one can solve this..??
What is WEB 3.0? What are the features their in WEB3.0
write algo for cobol program whichuse three flat file to extract some specific information 8 marks mainframe
if 3 duplicate records, by keeping one original and one duplicate record, and how to delete remaining 2 duplicates in sql server 2008
Hi All, Can any one please send me the difference between informatica 7i and 8i versions, Thanks in advance. vinod
Difference between HTML and DHTML?
how to remove header and footer in jcl using sort utility
What's the difference b/w Table & Templete in Smartform?