Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pavel O #83

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Pavel O #83

wants to merge 6 commits into from

Conversation

rur7
Copy link

@rur7 rur7 commented Dec 25, 2021

No description provided.

@rur7 rur7 changed the title p Pavel O Dec 25, 2021
@rur7 rur7 closed this Dec 25, 2021
@rur7 rur7 reopened this Dec 25, 2021
x=1.16;
double y8=sqrt((abs(a-b*x))/(pow(log(x),3)));
cout <<"y8= " <<y8 <<endl;
return 0;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

у нас же для этого цикл и существует)

}

return 0;
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут нужно было создать отдельные функции)



pro:
cout <<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<endl<<"Введите значение k: ";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем так много?)

s1=0;
q=0;
w=0;
while (s!=s1)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут имелось в виду что-то типа такого:

    k=1;
      w=0;
      while (k <= x)
      {
          if (k % 2 == 0)
              w+=k;
          k=k+1;
      }

@Nastasia8
Copy link
Owner

Баллов до минимума не хватает, нужны еще работы

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants