Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 136,106 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,722 people online right now. Registration is fast and FREE... Join Now!




positive and negative

 
Reply to this topicStart new topic

positive and negative, IN C

arem026
2 Oct, 2007 - 12:04 AM
Post #1

New D.I.C Head
*

Joined: 28 Aug, 2007
Posts: 22


My Contributions
the problem is making a program which lets the user to input at least 5 digits then afterwards the output will count how many positive and negative numbers have been type.
e.g.

1 4 -5 3 -5

output:
positive:3
negative: 2
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Positive And Negative
2 Oct, 2007 - 12:11 AM
Post #2

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 11 times
My Contributions
Please read the forum rules: we are not gonna give you a complete solution!
However if you post your code, we are willing to help you find the errors!
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/1/08 09:19PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month