Wap for basic salary of employees & calculate net salary, C/C++ Programming

WAP TO ACCEPT THE BASIC SALARY OF EMPLOYEES & CALCULATE NET SALARY

 

#include stdio.h>

#include conio.h>

 

void main()

{

                   float Basic_Salary,DA,HRA,MA,LTC,VA,Gross_Salary,PF,Net_Salary;

                   clrscr();

 

                   printf("\n\n\t\t Enter Basic Salary: Rs.");

                   scanf("%f",&Basic_Salary);

 

                   DA=Basic_Salary*0.52;

                        HRA=Basic_Salary*0.1;

                        MA=Basic_Salary*0.1;

                        LTC=Basic_Salary*0.1;

                        VA=Basic_Salary*0.05;

 

                   Gross_Salary=Basic_Salary+DA+HRA+MA+LTC+VA;

                        PF=Basic_Salary*0.1;

 

                        Net_Salary=Gross_Salary-(1000+PF);

 

                   printf("\n\n\t\t Net_Salary is: Rs.%f", Net_Salary);

 

                   getch();

}

 

 

1019_WAP TO ACCEPT THE BASIC SALARY OF EMPLOYEES & CALCULATE NET SALARY.jpg

Posted Date: 9/10/2012 9:00:02 AM | Location : United States







Related Discussions:- Wap for basic salary of employees & calculate net salary, Assignment Help, Ask Question on Wap for basic salary of employees & calculate net salary, Get Answer, Expert's Help, Wap for basic salary of employees & calculate net salary Discussions

Write discussion on Wap for basic salary of employees & calculate net salary
Your posts are moderated
Related Questions

Define External Storage Class - computer programming? When a variable is declared outside a function the storage is permanently assigned to it and its storage class is 'extern'


Here is a program that uses an inline function to compute and return the absolute value of its input argument. # include inline int abs(int x) {                  ret

Inheritance and Reuse Consider a car manufacturing company. When they require building a new car, they have two choices. They can start from the scratch, or they can change an

The heart of the modern electronic system is the microprocessor e.g. the video, sound, game consoles, portable phones and domestic appliances. Let us consider the heart of a home c

write an algorithm for multiplication of two sparse matrices using linked lists

Test scores solution help. Three member variables

#I have assignment c with unix thread multiplication program ..

1. The management of a company would like to determine the median annual salary of its employees.Write a pascal program that display the number of employees and their median salary