1
I need to create an algorithm that returns me different values each time it is executed, even receiving the same input values.
It aims to solve a question where I need to analyze the generation of a particular living being who has more chances of not having children than of having, and create an algorithm that calculates their generations as long as they have children, and say that it went extinct when there are no more children.
What would be undetermined?
– rray
An algorithm that returns me different values each time it runs, even when receiving the same input values.
– Renan GentilBraz
Already improved a bit, edit the question and add this description in the question :)
– rray
Sorry, I’m new to the forum and younger still in the course of Computer Systems, so I’m a little lost. I need to solve a question that asks how many generations a living being will last, and he is more likely not to have children than to have... then I need to create an algorithm that tells how many children he has had generation after generation, until it goes extinct.
– Renan GentilBraz
When you get a chance see the tour she explains quickly how the site works, it is a Q&A and not a forum, I imagine that the first of several questions.
– rray