Guest User

Untitled

a guest
Feb 16th, 2019
100
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. int f(int x, int y){
  3. for (int i=1; i<=x; i++) {
  4. for (int j=1; j <= y; j++) {
  5. std::cout << "*";
  6. }
  7. std::cout << "\n";
  8. }
  9. return (x, y);
  10. }
  11. int main() {
  12. int t, k;
  13. std::cout << "chose the size\n";
  14. std::cin >> t >> k;
  15. f(t, k);
  16. }
Add Comment
Please, Sign In to add comment