help

write a program that reads in ten whole numbers and that outputs the sum of all the numbers greater than zero, the sum of all the numbers less than zero( which will be a negative number or zero), and the sum of all the numbers, whether positive, negative, or zero. the user enters the ten numbers just once each and the user can enter them in any order. Your program should not ask the user to enter the positive numbers and the negative numbers separately.
closed account (S6k9GNh0)
1. Read 10 integers via console, all at once.
2. Add them together according to the rules provided.
3. Output them to console.
we aren't going to write this for you. Write what you can and edit your post with it using the Code tags(bottom right corner "<>"). Ask for help on certain parts you don't understand, don't expect us to just hand feed you.
Topic archived. No new replies allowed.