Mar-24-2020, 09:07 PM
(Mar-24-2020, 01:26 AM)jefsummers Wrote: I think I can answer.
A. It's a function to calculate the area of a circle. He can then incorporate that into more complex problems and not have to write it again.
B. It's posted in Homework. There is a good chance that he was told as part of the assignment to write a function
C. He is compartmentalizing his code, generally considered a good thing.
J
Hello, exactly. Just after that I created a second fonction for calculating the Volume of a Cone, which need the first fonction (area of a circle). It's working
Thanks again for your time