EgorKrava

2.d(i)

Dec 3rd, 2021
708
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let a = 0
  2. let b = +prompt("chislo vvedi")
  3. let c = 0
  4. let g = b
  5.  
  6. while(a < b){
  7.     while(c < g){
  8.         console.put("*")
  9.         c = c + 1
  10.     }
  11.     console.log("")
  12.     a = a + 1
  13.     c = 0
  14.     g = g - 1
  15. }
  16.  
RAW Paste Data