⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c˴

📁 C语言实战105例源码.zip
💻
字号:

#include<stdio.h>
int main()
{
  int i,j,count;
  clrscr();
  puts("***********************************************");
  puts("*         this program will solve             *");
  puts("*       the problem about colorful boll       *");
  puts("***********************************************");
  puts("The the result is:\n");
  printf(" RED BALL WHITE BALL BLACK BALL\n");
  count = 1;
  for(i=0;i<=3;i++)       /*i是红球个数,作为外层循环变量*/
      for(j=0;j<=3;j++)   /*j是白球个数,作为内层循环变量*/
          if((8-i-j)<=6) 
  printf("    %d         %d         %d\n",count++,i,j,8-i-j);
  getch();\
  return 0;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -