• Помогите пожалуйста через программу с++
    50 балов

    question img

Ответы 6

  • :(
  • редачил же
    • Автор:

      simonin8z
    • 6 лет назад
    • 0
  • :\
    • Автор:

      juicy
    • 6 лет назад
    • 0
  • А 3?
    • Автор:

      mahoney
    • 6 лет назад
    • 0
  • #include<iostream>using namespace std;int main() { double x; double y; cout << "Enter   x : "; cin >> x; if (x > 0) { y = pow(sin(x), 2); } else { y = (1 - 2 * sin(pow(x, 2))); } cout << "\ty : "  << y << endl; system("pause");     return 0;}
  • 1.#include <iostream>#include <cmath>using namespace std;int main(){    double x,y;    cout << "x = ";    cin >> x;    if (x>0) y = pow(sin(x),2);    else y = 1-2*sin(x*x);    cout << "1) y = " << y << "";    if (x>0) y = sin(x*x);    else y = 1-2*pow(sin(x),2);    cout << "2) y = " << y << "";    return 0;}Пример:x = 21) y = 0.01991492) y = 0.4121182.#include <iostream>using namespace std;int main(){    double x,y;    cout << "Введите x и y: ";    cin >> x >> y;    if (x<4) cout << "I";    else cout << "II";    return 0;}Пример:Введите x и y:5 3II
    • Автор:

      abby
    • 6 лет назад
    • 0
  • Добавить свой ответ

Еще вопросы

Войти через Google

или

Забыли пароль?

У меня нет аккаунта, я хочу Зарегистрироваться

How much to ban the user?
1 hour 1 day 100 years