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
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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am