Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started