Главная » 2019 » Октябрь » 11 » 24
12:47
24

#include <iostream>
using namespace std;
int main()
{
    double x,y;
    cout<<"Vvedite x "; cin>>x;
    cout<<"Vvedite y "; cin>>y;
    double max,min;
    if (x>=y)
    {
        max=x; min=y;
    }
    else
    {
        max=y; min=x;
    }
    double Z=(min+0.5)/(1+pow(max,2));
    cout<<"Z="<<Z<<endl;
    system("pause");
    return 0; 
}

Просмотров: 202 | Добавил: denjes | Рейтинг: 0.0/0
Всего комментариев: 0
avatar