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(7,'*');
- SZLACZEK(9,'$');
- SZLACZEK(11,'x');
- return 0;
- }
Add Comment
Please, Sign In to add comment