原始问题:
羊了个羊的代码
include
using namespace std;
int main()
{
int sheep = 1; // 初始化羊的数量为1
cout << "一只羊:" << sheep << endl;
// 迭代4次,每次增加一只羊
for (int i=0; i<4; i++) {
sheep++; // 增加一只羊
cout << "再来一只羊:" << sheep << endl;
}
cout<<"总共有 "<<sheep<<" 只小羊了。";
return 0; }
Prev:vbs获取Sap左下角order number的消息