Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void SZLACZEK(int x, char y)
- {
- for (int i = 0; i < x; i++)
- {
- cout << y;
- }
- cout << "\n";
- }
- int main()
- {
- SZLACZEK(5, '*');
- SZLACZEK(10, '$');
- SZLACZEK(3, '^');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement