in reply to
Trial and error problems in Perl
You can just generate two numbers randomly, add them and subtract the result from 10.33 . That should give you an exact result for the last number (barring floating point exactness errors).
see
rand() in perlfunc
"What should it profit a man, if he should win a flame war, yet lose his cool?"
Comment on
Re: Trial and error problems in Perl
In Section
Seekers of Perl Wisdom