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

9.Difference between even and odd signals?explain with the diagram?

2947


What is SAP TAO? · Which Version you are using? · What is the Latest Version in SAP TAO? · What are the Advantages in SAP TAO? · What are the Patches required for SAP TAO? · What is BPT? · Difference between BPT & SAP TAO? · Which Framework using for SAP TAO? · What is CBASE? · What is the SAP TAO Architecture? · What are the Prerequisites for SAP TAO? · SAP Solution Manager Mandatory for SAP TAO 1.0? · SAP Solution Manager Mandatory for SAP TAO 2.X? · What is UI Scanner? · What is Inspector? · How many ways to Create a components using TAO 1.0? · How many ways to Create a components using TAO 2.x? · Which service pack required for SAP TAO 2.7? · What is Import/Export? · What is Consolidate?

2376


I m Abdullah Ansari compleated MCA from Jamia Hamdard,i have appeared the test of IBM on 2 august at oxford college of engineering Bangalore.waiting for hr round.. This is the first round for IBM.02/08/08 Paper consists of 4 sections 15 questions from matrices(time very less but no negative marking). 25 questions from series completion section (this section is very easy but negative marking) 15 questions from aptitude(little bit tough time limit 15 minute negative marking) 4th section is from computer science (c,c++,operating system,digital electronics ,basic question..) result came at 3 o'clock.i was selected... In interview they asked questions like 1 they asked about final yr project.. 2 what are dynamic and static memory location? 3 linked list and array difference between them. 4 what is function ? what is difference betwen function and inline function? 5 about structure 6 about binary tree, traversal, call by value. 7 storage class and many more basic questions..

2877


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?

3353


Colors specified with the notation

1798






will it allow to add same value in HashMap class.

1650


Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can?t pass the value k to any function also.

548


Which CRM is better to opt, Sebiel CRM or Salesforce CRM or sap CRM? which institute is best one in hyderabad

1831


what is log files in qtp what is use

1580


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

1464


Find out the roles which gives access to all tables in SAP? Thanks in advance.

1552


How to know we are in home page of a web application using QTP

1995


why we use abstract in awt?

1550


in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?

1642


how does database connection using ADO.NET?

1508