#include void main() { float basic,hra,da,totsal; clrscr(); printf("Enter Basic Salary: "); scanf("%f",&basic); if(basic>=10000) { hra=basic*0.1; da=basic*0.05; totsal=basic+hra+da; } else { hra=basic*0.15; da=basic*0.1; totsal=basic+hra+da; } printf("The toal salary =%f",totsal); getch(); }