> 其他 >
口袋中有红,黄,蓝,白,黑5种颜色的球若干个.每次从口袋中取出3个不同颜色的球,问有多少种取法.用c++
人气:187 ℃ 时间:2020-03-25 01:55:26
解答
#include
#include
void main()
{
int i,j,k,n=0;
char c[5][7]={"red","yellow","blue","white","black"};
for (i=0;i
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版