Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main()
- {
- system("chcp 1250");
- int n, j, i=1,x;
- cout << "program wyœwietla * wg wzoru n= " << endl;
- cout << "podaj liczbe n= " << endl;
- cin >> n;
- for(j=1;j<=n;j++)
- {
- for(x=1;x<=i;x++)
- {
- cout<<"*";
- }
- cout<<" Kobyla chuj \n";
- i++;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement