#include <iostream>
Go to the source code of this file.
◆ main()
Definition at line 9 of file Loops.cpp.
16 cout << endl <<
"Classical loop by for" << endl;
19 for (
int i = 0; i < n; ++i) {
27 cout << endl <<
"Loop by while" << endl;
39 cout << endl <<
"Loop by do while" << endl;
40 cout <<
" wrong for n <= 0 !!" << endl;