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

Super ASCII String Cost, A string S is said to be "Super ASCII", if it cont...

A string S is said to be "Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the asci

But operator overloading makes class look ugly; isn''t it , Q: But operator...

Q: But operator overloading makes class look ugly; isn't it assumed to make my code clearer? A: Operator overloading makes life simpler for the users of a class, not for develop

How, how to program?

how to program?

Assignment, manupulates operator precidence

manupulates operator precidence

I want to convert atmel c code into arduino mppt, Normal 0 fals...

Normal 0 false false false EN-US X-NONE X-NONE

Compiler design, Compiler Design - Limit In The Method Instructions

Compiler Design - Limit In The Method Instructions

Copy constructor and an overloaded assignment operator, What is the differe...

What is the difference among a copy constructor and an overloaded assignment operator? Ans) A copy constructor constructs a latest object by using the content of the argument

Oop, what is oop?

what is oop?

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