编写C程序求不定方程2X+3Y=100的所有正整数解 输出格式X=5,y=30

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/22 01:59:49
编写C程序求不定方程2X+3Y=100的所有正整数解输出格式X=5,y=30编写C程序求不定方程2X+3Y=100的所有正整数解输出格式X=5,y=30编写C程序求不定方程2X+3Y=100的所有正整

编写C程序求不定方程2X+3Y=100的所有正整数解 输出格式X=5,y=30
编写C程序求不定方程2X+3Y=100的所有正整数解 输出格式X=5,y=30

编写C程序求不定方程2X+3Y=100的所有正整数解 输出格式X=5,y=30
#include "stdio.h"
main()
{
int x,y;
for(x=0;x