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

Why does this code crash?

623


Tell us something about keyword 'auto'.

668


What is the -> in c?

588


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

612


What is c value paradox explain?

579






write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

1788


Are global variables static in c?

681


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

687


What is the benefit of using const for declaring constants?

592


What are the key features in c programming language?

622


What is pointers in c with example?

586


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

606


Write a factorial program using C.

647


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2989


What are reserved words?

660