Files
seer/tests/recursive_test/include/advanced.h
T

35 lines
476 B
C++
Raw Normal View History

#ifndef ADVANCED_H
#define ADVANCED_H
2025-11-07 21:25:32 +07:00
#include <iostream>
#include <iostream>
#include <chrono>
#include <unistd.h>
#include <string>
#include <vector>
2025-11-07 21:25:32 +07:00
struct childStruct
{
int age;
std::string name;
};
struct parentStruct
{
int age;
std::string name;
childStruct childArr[100];
2025-11-07 21:25:32 +07:00
};
struct familyStruct
2025-11-07 21:25:32 +07:00
{
parentStruct dad;
int numberOfNumber;
char familyName[50];
parentStruct mom;
2025-11-07 21:25:32 +07:00
};
int factorial(int n);
int fibonacci(int n);
#endif