logo

Crowdly

Browser

Add to Chrome

public static void Print(int num)                                   {          ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

public static void Print(int num)                                  

{                         

       if( num < 100 )                                      

{                                

           System.out.println("number is less than 100");           

           if(num > 50)                                

{

         System.out.println("number is greater than 50");

           }

       }

       System.out.println("Finish");                               

}

Based on the source code above, What is the branch coverage of test case num = 110 ?

0%
0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on ecourse.del.ac.id?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome