Edo Chris
Edo Chris
7 years ago

An array is defined to be a 235 array if the number of elements divisible by 2 plus the number of elements divisible by 3 plus the number of elements divisible by 5 plus the number of elements not divisible by 2, 3, or 5 is equal to the number of elements of the array. Write a method named is123Array that returns 1 if its array argument is a 235 array, otherwise it returns 0.
NOTE: The function signature is
intis235Array(int[ ] a)


This Question Belongs to User Ask Question >> Miscellaneous

Join The Discussion

Comments ( 1 )

  1. Aboda Yehia
    Aboda Yehia :
    6 years ago

    no idea :)

Related User Ask Questions