any hint regarding this question?
Finding CB number
Hi @LPU11910344
You can approach this question by First taking the number into input as string. Then use two nested for loops to traverse the substrings of the string and check for each of the substring ,convert it to int and then If any of it is cb number then increase the count;
Hope it Helps.