// con1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include using namespace std; int main() { int n, i; // cin n i = 0; while (i < n) { // cout i++; } for (i = 0; i < n; i++) cout << "Hello"; cin >> n; while (n > 0) { cout << "Hello"; n--; } cin >> n; for (; n>0; n--) // you could use cin>>n as the first part of for cout << "Hello"; int inputNum = 0; int sum; for (sum = 0, i = 0; inputNum >= 0; i++) { cin >> inputNum; sum += inputNum; } for (int i = 0; i < 10; i++) { } for (;;) // endless loop cout << "hghfghf"; return 0; }