![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 19.03.2021 18:30 jordanrini
X274: Recursion Programming Exercise: Cannonballs Spherical objects, such as cannonballs, can be stacked to form a pyramid with one cannonball at the top, sitting on top of a square composed of four cannonballs, sitting on top of a square composed of nine cannonballs, and so forth.
RequireD:
Write a recursive function that takes as its argument the height of a pyramid of cannonballs and returns the number of cannonballs it contains.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 01:00
Duplicating objects creates copies that a. move differently than the original object b. erase the original object c. look and act like the original object d. add events to a game
Answers: 1
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 16:50
Ideally, the backrest is tilted back slightly, so when you turn the wheel your shoulders are the seat.
Answers: 2
![question](/tpl/images/cats/informatica.png)
You know the right answer?
X274: Recursion Programming Exercise: Cannonballs Spherical objects, such as cannonballs, can be sta...
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/health.png)
Health, 02.09.2020 14:01
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 02.09.2020 14:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.09.2020 14:01
![question](/tpl/images/cats/fizika.png)
Physics, 02.09.2020 14:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.09.2020 14:01
![question](/tpl/images/cats/en.png)
English, 02.09.2020 14:01
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 02.09.2020 14:01
![question](/tpl/images/cats/fizika.png)
Physics, 02.09.2020 14:01
![question](/tpl/images/cats/mat.png)
Mathematics, 02.09.2020 14:01
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 02.09.2020 14:01
![question](/tpl/images/cats/biologiya.png)
Biology, 02.09.2020 14:01
![question](/tpl/images/cats/biologiya.png)
Biology, 02.09.2020 14:01
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/biologiya.png)