help in my home work

i need a program when the user enter positive numbers continue and when the user enter negative number the program break and cout the number which accept division 3

1) You need an array of integers to hold the input
2) You need a loop to get the numbers
3) You need a conditional which will evaluate whether a number is negative
4) You need a conditional which will evaluate whether a number is divisible by 3

Now that you know what you need, give it a try.
Topic archived. No new replies allowed.