// page62.cpp : 定义控制台应用程序的入口点。
//C++面向对象程序设计
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
int count_down;
cout << " How many greetings do you want?\n";
cin >> count_down;
while (count_down >0)
{
cout << " Hello";
count_down = count_down - 1;
}
cout << endl;
cout << " That is all!\n";
cin >> count_down;
return 0;
}