Breaking News

Photo in News

Gross salary of the employee- c program

This program will find the Gross salary of the employee.

/*
Developed by deepak anand.
For more programs,
visit programming-stuff-4-u.blogspot.in
*/
#include<stdio.h>
#include<conio.h>
void main()
{
 int gross_salary,basic,da,ta;
 clrscr();
 printf("Enter basic salary : ");
 scanf("%d",&basic);
 da = ( 10 * basic ) / 100;
 ta = ( 12 * basic ) / 100;
 gross_salary = basic + da + ta;
 printf("\nGross salary : %d",gross_salary);
 getch();
}

No comments:

Total Pageviews

  • Posts
  • Comments
  • Pageviews
Designed By Blogger Templates