logo

Crowdly

Browser

Add to Chrome

Какой результат соответствует выполнению данного фрагмента программы? int main(...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Какой результат соответствует выполнению данного фрагмента программы?

int main()

{

    double x,y;

    cout<<"x=";

    cin>>x;

    cout<<"y=";

    cin>>y;

    if(x+y<0){

        y=fabs(x/y+1.0);

    }

    else {

        y=pow(x,2.0);

    }

    cout<<"x="<<x<<endl;

    cout<<"y="<<y<<endl;

    cout<<"z="<<z<<endl;

    retutn 0;

}

0%
0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on moodle.psu.by?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome