mercredi 1 novembre 2017

Assign equal or less with zero target number against another array in php

Candidate array= {10, 1, 2, 7, 6, 1, 5};

Target Number = 15

Can distribute random target number=15 into candidate array?

Possible output of could be:

Assign equal or less with zero target number against candidate array like is:

 {10==2,    1==0,  2==2,  7==5,  6==3,  1==1,  5==2 }




Aucun commentaire:

Enregistrer un commentaire