I generated randomly 100 numbers (-20 - 20) and write them. How do I re-arrange them so positive numbers will be written down first, then zeros, and then negative numbers?
1
Expert's answer
2010-09-16T17:22:04-0400
First of all generate random form 0 up to 20 - that will give you positive numbers including zeros, after that create one more Random form -1 up to -20 - that will generate your negative numbers. You have to use two random generators.
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
What programming language are you using?