#include<stdio.h> int main() { int m,n, number=0; printf("红球白球黑球\n"); printf("........... ..... . . . ... \n");for (m=0;m<=3;m++) /*变量m控制红球的个数*/ for (n=0;n<=3;n++) /*变量n控制白球的个数*/ if(8-m-n<=6) printf("%2d: %d %d%d\n" ,++number,m, n,8-m-n); }
标签:...,int,printf,问题,色球,main,2.4 From: https://www.cnblogs.com/xuan-2004/p/17379035.html