good day mga ka phc!, pasensya na sa abala; anyone who's in javascript?
ganito kasi lumalabas na output (right part) here's my code (left)
I just need to output consecutive numbers with hyphen, depending in the input prompt
ex:
input is 3
output must be:
1-2-3
i've been dealing this for 24 hours already, any help will be really and so much appreciated, let me also know kung ano mali ko sa codes; array is one of my weakness
ganito kasi lumalabas na output (right part) here's my code (left)
I just need to output consecutive numbers with hyphen, depending in the input prompt
ex:
input is 3
output must be:
1-2-3
i've been dealing this for 24 hours already, any help will be really and so much appreciated, let me also know kung ano mali ko sa codes; array is one of my weakness
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.