Advertisement
DominikBlaszczyk

zad 2

Mar 31st, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. void GWIAZDKI(int a){
  7. for(int i=1; i<=a;i++){
  8. cout << "*";
  9. }
  10. }
  11.  
  12. int main()
  13. {
  14. int a;
  15. cout << "Podaj ilosc gwiazdek" << endl;
  16. cin >> a;
  17. GWIAZDKI(a);
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement