Optical Operators 3 Js Challenge
I need some help with this challenge, I have managed to work out case 1 and case 3 on my editor, but with the Solo Learn editor... The parseInt() radix is returning 11 instead of 1 on case 1. How do I fix this? Do I need to change the radix? How do I solve case 3? Which has an input of 36? Any advice would be greatly appreciated. Volunteers have been divided into 5 groups with equal number of members. If any group has fewer than 5 people, more volunteers must be recruited to fill the positions. Write a program that takes the number of volunteers and outputs to the console how many volunteers need to be hired to have 5 equal groups. Sample Input 24 Sample Output 1 Explanation The nearest number to 24 that is multiple of 5 is 25, so we need 1 more volunteer (24+1=25) to get 5 equal groups.