C++ помогите мне составить блоки схему пожалуйста

#include
#include
using namespace std;
double fn(double x, int n, double s = 0) {
if (n == 0) return s + x;
auto m = n << 1;
auto k = m + 1;
s += pow(-1, n) * k / pow(x, m);
return fn(x, n - 1, s);
}
int main() {
cout << "x: ";
double x;
cin >> x;
auto n = 17;
auto y = fn(x, n);
cout << “y: " << fixed << setprecision(15) << y << ‘\n’;
system(“pause > nul”);
}
2.
#include
#include
#include
#include
#include
#include
using namespace std;
void fn(const vector& box, function f) {
deque res;
copy_if(box.begin(), box.end(), front_insert_iterator(res), f);
if (!res.empty()) copy(res.begin(), res.end(), ostream_iterator(cout, " “));
else cout << “Not found!”;
puts(””);
}
int main() {
cout << "n: ";
size_t n;
cin >> n;
vector box(n);
cout << "Elements: ";
for (auto& x : box) cin >> x;
auto odd = [](int x) { return x & 1; };
auto pos = find_if(box.begin(), box.end(), odd);
auto positive = [](int x) { return x > 0; };
auto negative = [](int x) { return x < 0; };
if (pos != box.end()) {
auto even = [](int x) { return ~x & 1; };
if (find_if(pos, box.end(), even) != box.end()) fn(box, positive);
else fn(box, negative);
} else {
fn(box, negative);
}
system(“pause > nul”);
}
3.
#include
using namespace std;
unsigned long long sum(unsigned n) {
return n == 0? 0 : n + sum(n - 1);
}
int main() {
cout << "n: ";
unsigned n;
cin >> n;
auto s = sum(n);
cout << "sum: " << s << ‘\n’;
system(“pause > nul”);
}

Вставьте код нормально с помощью кнопки Код и без потерянных символов )

А помочь-то как, в чем проблема?

Если оч. нужно можно использовать деградатор для студентов