SHARE
TWEET

Untitled

a guest Jan 22nd, 2020 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // nastya l
  2. let arr = []
  3.  let cheslo = +prompt("skashu cheslo")
  4.   let i = 0
  5.  let kolich = 0
  6.  while ( cheslo != 0 ){
  7.     arr[i] = cheslo
  8.      kolich++
  9.     i++
  10.     cheslo = +prompt("skashu cheslo")
  11.  }
  12.  i = 0
  13.  while (i < kolich){
  14.      console.put(arr[i])
  15.     console.put(" ")
  16.  i++
  17. }
  18.  
  19. let maxi = 0 , a = 0
  20. while ( a < maxi ) {
  21.     console.put (arr[a])
  22.     console.put(" ")
  23.     a++
  24.   if (arr[a] = maxi ) {
  25.     }
  26. }
  27.  
  28. let b = 0
  29. while ( b < ( max - arr[a])/2) {
  30.     console.log(" ")
  31.     b++
  32. }
  33. let c = 0
  34. while (c < arr[a]){
  35.     console.log("*")
  36.     c++
  37. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top