Please specify the corrections in the following code..it is giving 0 for boston no.s also
@sbhardwaj1be21_2a991b329433c059,
here u need to find the number whose sum of digits are equal to sum of digits of its factor except 1
check here for implementation ive commented the code : https://ide.codingblocks.com/s/656874
Can u provide it in a different method coz this one involves vectors and i haven’t reached there yet…
hi @sbhardwaj1be21_2a991b329433c059 its same as arrays
refer https://www.geeksforgeeks.org/vector-in-cpp-stl/