Searching a File for Prime NumbersThat seems to give me an average of 5 and a sum of 23. Did it compile correctly for you? I'm using t...
Searching a File for Prime NumbersI can't hardcode the numbers (though I wish I could) because they are random. I'm just practicing wi...
#include?!!Try looking at this: http://www.cplusplus.com/reference/ The current site you're on is a great sit...
Searching a File for Prime NumbersYes I tried changing each variable to float or double. factor, count, sum, and avg can be float or d...
Searching a File for Prime Numbers2: The braces didn't copy over for some reason but they're there. 3: The avg output is correct some...