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