PPT Slide
Slide 2
Next slide
Previous slide
Software Quality Assurance
main( )
{
int a, b, c, d, e, m;
int read_line( ), write_line( );
read_line(a, b, c, d, e, m);
if(a>b){
m = a+ b;
c++;
if(c>m) d = c;
else d = m;}
else {m = a+ d;
if(c>m) e = c;
else e = m;}
a++;
write_line(d, e, m);
}
v(G) = 17 - 15 + 2
= 4
exit point
read_line
if(a>b)
a=a+b
m=a+d
a++
write_line
entry point
Previous slide
Next slide
Back to first slide
View graphic version