Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- using namespace std;
- void SZLACZEK(int a, char b);
- int main(){
- SZLACZEK(10, 'f');
- cout << endl;
- SZLACZEK(5, 's');
- cout << endl;
- SZLACZEK(15, '*');
- cout << endl;
- SZLACZEK(29, '-');
- }
- void SZLACZEK(int a, char b){
- for (int i; i < a; i++){
- cout << b;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment