Google analytics

Wednesday, September 7, 2011

Salary of a Company

/*  Salary Bonus */


#include<stdio.h>
#include<conio.h>
main()
{
   int a,b=500;
   float c;
    printf(“Enter the salary = “);
    scanf(“%d”,&a);
   if
   (a>=b)
  c=a*0.05
    printf(“Bonus is = %d”,c);
  else
    printf(“Bonus is = 250”)
}

No comments:

Post a Comment