posted 5 years ago
Hi, I am trying to find next multiple of five using the function nextMultipleOfFive().
EXAMPLE: if the grades array contain 78,67,34,90 Then nextMultiple should give 80,70,35,90
but i am getting output 1,1,1,1.I am doing something wrong please tell. Thanks in advance