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

Pebble merchant, There is a pebble merchant. He sells the pebbles, that are...

There is a pebble merchant. He sells the pebbles, that are used for shining the floor. His main duty is to take the length of the room’s sides. But he sometimes mistakes doing that

Assignment, Hi, Can i get a quote for my Programming assignment

Hi, Can i get a quote for my Programming assignment

What is mime, What is MIME? MIME - Multi-purpose Internet Mail Extens...

What is MIME? MIME - Multi-purpose Internet Mail Extensions. MIME types signifies a standard way of classifying file types over Internet. Browsers and Web servers have

Define procedure to return the sum of the odd elements, (a) Define a proced...

(a) Define a procedure (deep-member x e) that takes a list x and an element e and returns #t if the element e is in the list or in any lists that the list x contains. e.g., (dee

Can one create operator** for "to-the-power-of" operations?, A: no, can't. ...

A: no, can't. The names of, precedence of, associativity of, and arity of operators is fixed through the language. In C++, there is no operator** so you cannot create one for a

In p = new fred(), Q: In p = new Fred(), does the Fred memory "leak" if  Fr...

Q: In p = new Fred(), does the Fred memory "leak" if  Fred constructor throws an exception? A: No.         If an exception take place during the Fred constructor of p = new F

Class and object, write a class player that contain attributes for the play...

write a class player that contain attributes for the player,s name,average and team

C/c++ program, luminous jewel polishing necklace,c/c++ programming

luminous jewel polishing necklace,c/c++ programming

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