#include <stdio.h> int main(){int x;//鸡int y;//兔for (x = 1; x <= 30; x++){y = 30 - x;if ((2*x)+(4*y)==90){printf("%d %d", x, y);}}return 0;}
300字范文,内容丰富有趣,生活中的好帮手!
时间:2021-09-26 04:41:55
#include <stdio.h> int main(){int x;//鸡int y;//兔for (x = 1; x <= 30; x++){y = 30 - x;if ((2*x)+(4*y)==90){printf("%d %d", x, y);}}return 0;}