mistake with code
2 testcases not passed
Hello @shiva57reddy,
Where in your code are you looking for the following:
- 0 and 1 are not a CB number.
- 2,3,5,7,11,13,17,19,23,29 are CB numbers.
- Any number not divisible by the numbers in point 2( Given above) are also CB numbers.
37*37=961 is also a CB number, but not prime.
Please, read the question properly and let me know if you don’t understand anything.
Hope, this would help.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.