What's new

Closed Dealing with Javascript

Status
Not open for further replies.

msstar

Forum Veteran
Joined
Mar 10, 2016
Posts
2,869
Reaction
1,430
Points
930
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 1f641.png
 

Attachments

siguro ts dahil sa while() mo, while(true) hindi talaga matatapos yan kaya out of memory ang error code
 
Status
Not open for further replies.
Back
Top