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