help in my home work

Feb 21, 2019 at 2:14pm
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

Feb 21, 2019 at 2:24pm
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.