cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Help! Use a sentence, positive and negat
Help! Use a sentence, positive and negative output, For example:1 -1 . 1000 -1000 Can use a formal parameters,Can't use loop
Jan 31, 2012 at 2:00pm UTC
hacker5402
(2)
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
Feb 1, 2012 at 4:00pm UTC
Jan 31, 2012 at 2:07pm UTC
LB
(13399)
Can you use recursion? (even though it is best done in a loop?)
Feb 1, 2012 at 7:28am UTC
hacker5402
(2)
I will not use recursion
Feb 1, 2012 at 8:03am UTC
roberts
(314)
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.