// con1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include using namespace std; int main() { int a = 0; while (a<3) { cout << "Hello!" << endl; a++; } cout << endl; a = 3; while (a>0) { cout << "Hello!" << endl; a--; } return 0; }