Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- #include <string>
- using namespace std;
- int main(int argc, char *argv[])
- {
- /*
- for (int a=1; a < 16; a ++)
- {
- cout << "For Loooop"<< endl;
- }
- */
- int ROWS=10;
- // 10 rader
- for( int y = 1; y < ROWS+1; y++ )
- {
- for( int x = 0; x < y; x++)
- {
- std::cout << "For ";
- }
- cout << endl;
- }
- system("PAUSE");
- return EXIT_SUCCESS;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement