Help! Use a sentence, positive and negative output, For example:1 -1 . 1000 -1000 Can use a formal parameters,Can't use loop

Use a sentence, positive and negative output,
For example :
1 -1 ...... 1000 -1000
Can use a formal parameters, Can't use loop
Example, pictures address: http://www.hotimg.com/direct/qECUqQ9.jpg

Last edited on
Can you use recursion? (even though it is best done in a loop?)
I will not use recursion
Your img shows even numbers + and odd number negative.

How high are you supposed to go with these numbers? Not to 1000 I hope.
Topic archived. No new replies allowed.