求C语言高手啊,怎样求2x+y的最大值且xy满足x+y

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 17:33:18
求C语言高手啊,怎样求2x+y的最大值且xy满足x+y求C语言高手啊,怎样求2x+y的最大值且xy满足x+y求C语言高手啊,怎样求2x+y的最大值且xy满足x+y#includeintmain(){i

求C语言高手啊,怎样求2x+y的最大值且xy满足x+y
求C语言高手啊,怎样求2x+y的最大值且xy满足x+y

求C语言高手啊,怎样求2x+y的最大值且xy满足x+y
#include
int main()
{
int x,y;
for(x=20;x>=0;x--)
{
for(y=0;y