发布网友 发布时间:2022-10-15 18:48
共1个回答
热心网友 时间:2023-10-10 21:57
#include #include #include int func(){int a,b;a=rand()%6+1;b=rand()%6+1;if(a==b&&a==6){return 8;}else if(a==b){return 7;}else{return (a1.3*sumA){printf("A:%d\nB:%d\n5局B获胜\n",sumA,sumB);return;}}}if(sumA>sumB){printf("A:%d\nB。