#include <iostream>
int main()
{
int counter;
std::cout << " How many hello will be print?/n";
std::cin >> counter;
do
{
std::cout <<"hello/n";
counter--;
}
while(counter>0);//while和do while的区别在于是先执行程序还是先判断是否要执行
// do while中不管 while是真是假都会执行一次
// 如果while是真 则返回程序的开头 继续执行 否则跳出
std::cout <<"Counter is output " << counter <<std::endl;
return 0;
}