Advertisement
Spocoman

02. Rectangle of N x N Stars

Jan 2nd, 2022
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function solve(input) {
  2.     for (let i = 0; i < input; i++){
  3.         console.log('*'.repeat(input));
  4.     }
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement