#include<stdio.h>
main()
{
int sales,x;
float bonus,bonus1;
printf("Enter your Total sales\n");
scanf("%d",&sales);
if(sales>=100000)
{x=(sales-100000);
bonus=5000+(x*3)/100;
bonus1=bonus-(bonus*15)/100;
printf("Total Bonus = %.2f",bonus1);}
else
{bonus=(sales*5)/100;
bonus1=bonus-(bonus*15)/100;
printf("Total bonus= %.2f",bonus);}
getch();
}
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.