Page 1 of 1

You want the output to be: one line of vertical bars, spaced so that they always appear above the 0 in the line of numb

Posted: Tue Jul 12, 2022 8:20 am
by answerhappygod
You want the output to be: one line of verticalbars, spaced so that they always appear above the 0 in theline of numbers, then the line of numbers.You should define one constant in your code that you use to:1.) set the number of spaces between vertical bars.2.) set the sequence of numbers to restart at zero.If the value of your constant is 3, the output should looklike: | | |123012301230123 etc.
write in javascript