#include <iostream>
using namespace std;

double funcshn(double*);

int main(){
    int i = 0;
    double x = 0;
    double y = 10;
    for (i = 0; i < 10; i++){
        x = x + funcshn(&y);
    }
    cout << x;
}

double funcshn(double *y){
    return *y+10;
}