Write a C Program to find the gross salary and net salary. Here’s simple Program to find the gross salary and net salary in C Programming Language.
Gross salary :
We need to take input from user and then apply the simple formula to calculate the gross salary i.e. gross salary= basic salary+ dearness allowance+ house rent allowance.
Net salary :
We need to take input from user and then apply the simple formula to calculate the net salary i.e. net salary = gross – tax + pf
Below is the source code for C Program to find the gross salary and net salary which is successfully compiled and run on Windows System to produce desired output as shown below :
SOURCE CODE : :
OUTPUT : :
Above is the source code for C Program to find the gross salary and net salary which is successfully compiled and run on Windows System.The Output of the program is shown above .
need an explanation for this answer? contact us directly to get an explanation for this answer