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
Can you write the function prototype, definition and mention the other requirements.
Is it possible to initialize a variable at the time it was declared?
Explain the difference between malloc() and calloc() in c?
Where static variables are stored in c?
Explain what are linked list?
program for reversing a selected line word by word when multiple lines are given without using strrev
What does printf does?
How pointer is different from array?
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...
What is the difference between local variable and global variable in c?
How #define works?
What is c definition?
Why is void main used?
What happens if a header file is included twice?
How do I create a directory? How do I remove a directory (and its contents)?