Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <math.h>
- #include <string>
- using namespace std;
- int a;
- string b;
- int main(){
- cout << "podaj dlugosc boku trojkata: " << endl;
- cin >> a;
- for (int i = 0; i < a; i++){
- b += '*';
- cout << b << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment