Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int liczba1;
- void KWADRAT(int a)
- {
- for(int i=1; i<=a;i++)
- {
- cout << "\n";
- for(int i=1; i<=a;i++)
- {
- cout << "*";
- }
- }
- }
- int main()
- {
- cout << "Podaj liczbe: ";
- cin >> liczba1;
- KWADRAT(liczba1);
- return 0;
- }
Add Comment
Please, Sign In to add comment