What is the test coverage?

Q

From the following code, atleast how many test cases are needed to guarantee 100%coverage
Input Number_of_Coins
Total=0
While Number_of_Coins>0
Input Value_of_Coin
Total=Total + Value_of_Coin
Number_Of_Coins=Number_of_Coins - 1
End Loop
Print "Your coins are worth" & Total
What is the correct option with explanation?

✍: Guest

A

3
1
4
2

2014-11-24, 1916👍, 0💬