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 the difference between CLEAR & RESET and OPEN & CLOSE OPCOEDS(USING RPG/400).wheare we can use this?can any body tell me in real time senario with example please?
how sap is different from other software ?
How do you pass variables forwrd to future CECI sessions
What is the entry point function of a DLL?
hi this is uday i want prepare for nic exam if any one have previous question papers please send me or atlest guide me how to prepare my ID is udaykiran4u@in.com
Explain what is OOPS and its concepts?
When we use Windows authentication mode
WHAT IS MAIN IMPORTANT THING IN SOFTWARE?
why not instantiating servet using new operator?
how to remove header and footer in jcl using sort utility
Mainly Related to Oracle, DBMS , Oracle Stored Procedures, Functions, Oracle 9i Architecture, Redo logs..., Views,
What is the difference between WebIntelligence and Designer in creating universes?
hoe to data grid use in sql server 2000?
how do u handle table control inbdc explain the process in steps iwant the answer in urgent please forward this even i know how to explain there
Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?