बिजनेस मार्केटिंग का लो कॉस्ट फंडा , अपने मोबाइल से ऑटो sms भेजकर मार्केटिंग करे विजिट करे http://autotextsms.com/ बिजनेस मार्केटिंग का लो कॉस्ट फंडा http://autotextsms.com/

Search This Blog

Translate

C program to calculate salary with bonus amount.Using micro and conditional operator

C program  to calculate salary with bonus amount.Using micro and conditional operator

#include
#include
#define BONUS(x) (x<10000 font="" x="">
void main()
{
long sal,ans;
clrscr();
printf("Enter the salary=");
scanf("%ld",&sal);
ans=BONUS(sal);
printf("\n\nSalary with bouns amount is= %ld",ans);
getch();
}


C program  to calculate salary with bonus amount.Using micro and conditional operator

C Program example List