WAP to accept basic salary of an employee?
Calculate it HRA=25%,DA=30%,PF=30%&net salary display all
contents?

Answer Posted / sanjay

IF UR BASIC SALARY 5000 RS.
HRA=B*25/100;
HRA=1250;
DA=BS*30/100;
DA=1500;
PF=BS*30/100;
PF=1500;
NET SALARY=HRA+DA+PF+BS;
NET SALARY=1250+1500+1500+5000;
NET SALARY= 9250 RS.
THIS IS MY CORRECT ANSWER

Is This Answer Correct ?    27 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you write the function prototype, definition and mention the other requirements.

656


Is it possible to initialize a variable at the time it was declared?

755


Explain the difference between malloc() and calloc() in c?

573


Where static variables are stored in c?

581


Explain what are linked list?

617






program for reversing a selected line word by word when multiple lines are given without using strrev

1941


What does printf does?

740


How pointer is different from array?

573


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1481


What is the difference between local variable and global variable in c?

682


How #define works?

611


What is c definition?

737


Why is void main used?

613


What happens if a header file is included twice?

585


How do I create a directory? How do I remove a directory (and its contents)?

600