0
HELP ME PLS IM A NOOB :(
hi so i wanted to make a program like if input=5, output will be = 1,-2,3,-4,5 but the code i wrote didnt let the program stop https://code.sololearn.com/cQ52H092pn9m/?ref=app please masters kindly help me correct my code :") thanks
4 Respuestas
+ 3
Hi Annida M.F , I'm sure someone will help🙂
Meanwhile, what about redacting your post title so that it is meaningful and relate to the question?
It will attract more viewers
and make it easy for others to search!
+ 2
Please dont use goto above all in loops... Futhermore your problem is solvable with a simple for loop
HINT: If you see, the pattern indicate to negate every even number then....
+ 1
SOLVED!! THANKS A LOT
+ 1
👍👍👍👍