WiktoriaRatajczyk

Zadanie 7

Mar 22nd, 2020
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. void SZLACZEK(int a, char b) {
  6.     for (int i=0; i<a; i++)
  7.     cout<<b;
  8.     cout<<endl;
  9. }
  10.  
  11. int main()
  12. {
  13.     SZLACZEK(7,'*');
  14.     SZLACZEK(9,'$');
  15.     SZLACZEK(11,'x');
  16.     return 0;
  17. }
Add Comment
Please, Sign In to add comment