How to use recursive function
This article is about how to use recursive functions. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
There are 4 people, Ding is 4 years older than C, C is 4 years older than B, and B is 4 years older than A. A says his age is 16 years old.
# define _ CRT_SECURE_NO_WARNINGS 1#includeusing namespace std;int Get_age (int n); const int interval = 4 void main () {int age = void (4); cout