-
Notifications
You must be signed in to change notification settings - Fork 26
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
base: main
Are you sure you want to change the base?
Pavel O #83
Conversation
x=1.16; | ||
double y8=sqrt((abs(a-b*x))/(pow(log(x),3))); | ||
cout <<"y8= " <<y8 <<endl; | ||
return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
у нас же для этого цикл и существует)
} | ||
|
||
return 0; | ||
} |
There was a problem hiding this comment.
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: "; |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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;
}
Баллов до минимума не хватает, нужны еще работы |
No description provided.