I am trying to learn code coverage analysis; I am bit confused because the following code has loops.
Example if the code like this
read a;
read b;
i=0
if a>b
while(to i<a)
print(i)
i++;
end while
else
while(to i<b)
print(i)
i++;
end while
end if;
what is the percentage of statement coverage if a = 5 and b =7 ?