Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int x, y;
- int i,j;
- cout << "Podaj dlugosc pierwszego boku:" << endl;
- cin >> x;
- cout << "Podaj dlugosc drugiego boku: " << endl;
- cin >> y;
- for (i = 0; i < x; i++)
- {
- cout <<"*";
- for (j = 0; j < y; j++)
- {
- cout << "*";
- }
- cout << "\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement