x+y/4=100

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/26 17:18:53
x+y/4=100x+y/4=100x+y/4=100x=50,y=200;x=80,y=80;x=70;y=10;好多呢嘛.令y为死的倍数,用循环的方法解#includeusingnamespace

x+y/4=100
x+y/4=100

x+y/4=100
x=50,y=200;
x=80,y=80;
x=70;y=10;
好多呢嘛.

令y为死的倍数,用循环的方法解
#include
using namespace std;
void main()
{
int x,y;
for(x=100;x>0;x--)
for(y=0;y<=400;y+=4)
if(x+y/4==100)
cout<}
这是程序的代码,答案很多