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
In this problem you are given a board in which some of the elements are placed as shown in diagram below. Each element represents a color. Fill the other elements in the board, suc

write a program that counts the number of occurences of the string in the n-th Padovan string P(n) program in java // aakash , suraj , prem sasi kumar kamaraj college progr


#questio A charitable organization wants to design a special ATM machine to be used by needy people. The association supplies the needy person with a pin number to be able to use

explain the function of five elements that are found on a motherboard#

The Switch Construct The switch statement is a multi-way decision-making construct that tests an expression matches one of a number of constant values, and branches accordingly

Hey vrcoder I have got similar way but the game builder has sent me the game unfinished and left. I saw it on a link on line but they have wiped the old message with the link in it

when you allocate memory with new[], you ought to free the memory via delete[]. While you allocate memory along 'new', then use 'delete' with no the brackets. You employ new[] to a

replace character into string and return value of string that are replaced

processing two jobs through 2 machine