Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void KWADRAT(int a)
- {
- for(int i=0; i<a; i++)
- {
- for(int j=0; j<a; j++)
- {
- cout << "*";
- }
- cout << endl;
- }
- }
- int main()
- {
- KWADRAT(3);
- KWADRAT(0);
- KWADRAT(50);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement