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

Assignment Help:

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


Related Discussions:- Wap for basic salary of employees & calculate net salary

Give example of the do while loop, Normal 0 false false fal...

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

Program with inbuilt functions, write a atm program in c with inbuilt funct...

write a atm program in c with inbuilt functions for 1782?

What''s the deal along with operator overloading?, A: It let you to provide...

A: It let you to provide an intuitive interface to users of your class, as well as makes it possible for templates to equally work well with classes and built-in/intrinsic types.

Develop libcurl xml project, Develop libcurl XML project I have a Projec...

Develop libcurl XML project I have a Project using XML with C++. You will use things like LIbcurl etc....and a XML parser to finish the project. Developer must know how to use X

#titlethe Average Temperature in Paradise.., Writing and compiling a progra...

Writing and compiling a program from a given Use Case definition. Follow the Average Temperature in Paradise

String, Byteland county is very famous for luminous jewels. Luminous jewels...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Decode the code, Smugglers are becoming very smart day by day. Now they hav...

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

Explain the function of five elements that are on a, explain the function o...

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

C program to print r diagonal triangle, C program to print R diagonal trian...

C program to print R diagonal triangle: #define rows 3 #define cols 3 void main() {                 int i=0,j=0;                 int arr[rows][cols];

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd