1:代码如下:

// 3.17.cpp : 定义控制台应用程序的入口点。
//

#include "stdafx.h"
#include <iostream>
using namespace std;
void main()
{
    int i=0,j=0;
    cout << "执行while前j=" << j << endl;
    while(i>1)
    {
        j++;
    }
    cout << "执行while后j=" << j << endl;
}
View Code

相关文章:

  • 2021-11-29
  • 2022-01-06
  • 2021-04-04
  • 2021-06-14
  • 2021-11-18
  • 2022-01-10
  • 2022-02-02
猜你喜欢
  • 2022-02-15
  • 2021-10-26
  • 2021-08-19
  • 2022-12-23
  • 2022-01-11
  • 2021-11-22
相关资源
相似解决方案