rims

0 Reputation

One Badge

12 years, 333 days

MaplePrimes Activity


These are questions asked by rims

Hi, I'm having troubles with the conditions in an if statement.  My program is basically a for loop which assigns random values to some parameters, then some numbers are calculated, and finally there is an 'if' that checks if these numbers are positive.  However, when checking some of the output parameters I find that for some of them the conditions are not satisfied, i.e. the 'if' is not doing its job.  Here's a simplified version of the code.  Thanks for any help.

Page 1 of 1