Some testCases are failing
@Akankshaq,
Your code is correct. Just print strength only when answer is βYesβ. Currently you are printing strength even if the answer is βNoβ.
https://ide.codingblocks.com/s/256865 corrected code
@Akankshaq,
Your code is correct. Just print strength only when answer is βYesβ. Currently you are printing strength even if the answer is βNoβ.
https://ide.codingblocks.com/s/256865 corrected code