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

📄 test-3-2-2.cpp

📁 数据结构常用算法合集
💻 CPP
字号:
//test-3-2-2.cpp
#include <iostream.h>
#include <conio.h>
void main()
{ int a=1,b,count=0;
  do { b=1;
       do { count++;
            b++;
          }while(b<=5);
     }while (a++<=5);
  cout <<"count="<<count;
  cout <<"a="<< a;
  cout <<"b="<< b;
  a=b=count=0;
  do { b=10;
       do { count--;
            b-=2;
          }while(b>=0);
     }while(--a>=0);
  cout <<"\ncount="<<count;
  cout <<"a="<< a;
  cout <<"b="<< b;
  getch();
}

⌨️ 快捷键说明

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