Question: #include int main ( ) { float bs , gs , da , hra = 0 ; printf ( Enter basic salary ) ;

#include
int main()
{
float bs, gs, da, hra =0;
printf("Enter basic salary");
scanf("%f",&bs);
if(bs <1500)
{
hra = bs *10/100;
da = bs *90/100;
}
else {
hra =500;
da = bs *98/100;
}
gs = bs + hra + da;
printf("gross salary = Rs.%f",gs);
}
Find out the possible mutants and check how many of them are killed by a set of test data.
Find the mutation score. Add new test data if required to obtain higher mutation score.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!