C Program to calculate gross salary of a person.
Read moreHow do you present a C++ program?
How to write the first C++ program?
Read moreWhat are classes in C++ used for?
A class is used to specify the form of an object and it combines data representation and methods for manipulating that data into one neat package. The data and functions within a class are called members of the class.
Read moreWhat is class in C++ short answer?
Class: A class in C++ is the building block that leads to Object-Oriented programming . It is a user-defined data type, which holds its own data members and member functions, which can be accessed and used by creating an instance of that class. A C++ class is like a blueprint for an object.
Read moreHow do we take input in Java?
Example of integer input from user
Read moreHow do you calculate gross salary in C++?
Formula’s :- Gross Salary = Basic + Da + Hra + Ma . Deduction = Gross Salary – Pf – Pt – It. Net Salary = Gross Salary – Deduction. Logic:- For finding a gross salary of Employee we need to calculate DA and HRA then Sum Of Basic Salary + HRA + DA.
Read more