1. 13.
    0
    alooooooooo
    ···
  2. 12.
    0
    lan bi el atın sevaptır
    ···
  3. 11.
    +1
    getchar
    getchar
    return(0)
    }
    hadi bana eyvallah
    ···
  4. 10.
    0
    lan yok mu anlayan
    ···
  5. 9.
    +1
    ···
  6. 8.
    0
    la laaaaa
    ···
  7. 7.
    0
    amaç delta gamma rho bilmem neyi hesaplamak

    ya bi bakın 2 dakka çok ufak bişiyi ekgib ama neyi ekgib
    ···
  8. 6.
    +1
    ıı tak yedın ne sıkıme geldın
    ···
  9. 5.
    +1
    amacın nedir aq
    ···
  10. 4.
    0
    aloooooooooooooo
    ···
  11. 3.
    0
    yoooohhhh olmiyiiiiiiiii
    ···
  12. 2.
    +1
    17. satırı çıkarıp zütüne sokarsan düzelir
    ···
  13. 1.
    0
    kankalar bu zıkkım niye çalışmıyo:

    6. include <cstdlib>
    7. include <ctime>
    8. include <iostream>
    9. include <cmath>
    10. include "normdist.h"

    using namespace std;

    //normal distribution

    double N(const double& z) {
    if (z > 6.0) { return 1.0; };

    if (z < -6.0) { return 0.0; };
    double b1 = 0.31938153;
    double b2 = -0.356563782;
    double b3 = 1.781477937;
    double b4 = -1.821255978;

    double b5 = 1.330274429;
    double p = 0.2316419;
    double c2 = 0.3989423;
    double a=fabs(z);
    double t = 1.0/(1.0+a*p);

    double b = c2*exp((-z)*(z/2.0));
    double N = ((((b5*t+b4)*t+b3)*t+b2)*t+b1)*t;
    N = 1.0-b*N;
    if ( z < 0.0 ) N = 1.0 - N;
    return N;
    };

    // greeks calculation

    void option_price_partials_call_black_scholes( double S, // spot price
    double X, // Strike (exercise) price,
    double r, // interest rate
    double sigma, // volatility
    double time, // time to maturity
    double& Delta, // partial wrt S
    double& Gamma, // second prt wrt S
    double& Theta, // partial wrt time
    double& Vega, // partial wrt sigma
    double& Rho){ // partial wrt r
    double time_sqrt = sqrt(time);
    double d1 = (log(S/X)+r*time)/(sigma*time_sqrt) + 0.5*sigma*time_sqrt;
    double d2 = d1-(sigma*time_sqrt);

    Delta = N(d1);
    Gamma = N(d1)/(S*sigma*time_sqrt);
    Theta =- (S*sigma*N(d1)) / (2*time_sqrt) - r*X*exp( -r*time)*N(d2);
    Vega = S * time_sqrt * N(d1);
    Rho = X * time * exp(-r * time) * N(d2);

    };

    gelen hata mesajı:

    undefined reference to 'Winmain@16'
    bu ne beahhhh?
    ···