Hello, I had to write a program that randomly generates five numbers between -10 and 10. It should announce the total of the numbers and the cout of how many are less than zero and how many are zero or greater. So far I have started writing the program but I am possitive im making alot of errors, I just dont know what they are. This is what I wrote.Thanks
Lots going on here. Have you attempted to compile this yet?
Things of note:
-none of your functions have headers.
-if (n1 < 0)==(minusCount++) // Not sure what you're doing here, but this won't compile
-your displayResults function is attempting to return a value as a void
-your functions are never called in the main function - and your variables are never used.