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