Advertisement
Spocoman

03. Square of Stars

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