mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
35 lines
476 B
C++
35 lines
476 B
C++
#ifndef ADVANCED_H
|
|
#define ADVANCED_H
|
|
#include <iostream>
|
|
#include <iostream>
|
|
#include <chrono>
|
|
#include <unistd.h>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct childStruct
|
|
{
|
|
int age;
|
|
std::string name;
|
|
};
|
|
|
|
struct parentStruct
|
|
{
|
|
int age;
|
|
std::string name;
|
|
childStruct childArr[100];
|
|
};
|
|
|
|
struct familyStruct
|
|
{
|
|
parentStruct dad;
|
|
int numberOfNumber;
|
|
char familyName[50];
|
|
parentStruct mom;
|
|
};
|
|
|
|
int factorial(int n);
|
|
int fibonacci(int n);
|
|
|
|
#endif
|