vendredi 10 février 2017

Generate a division which result hasn't dot and divisor and dividend are generated random from a range of numbers

My problem is mainly a mathematic logic problem, more than a code problem.

I have an android app where I generate a division.

I have to generate a division which divisor and dividend are generated random from a specific range of number (let's say 10-1000) and which result is a number without dot.

For example:

A(10-1000) : B (10-1000) = C (number without dot)

Does anybody know how to reach my goal. Math is not a friend of mine.

Thank you




Aucun commentaire:

Enregistrer un commentaire