← Back to all posts
##### Help...
FallenAngel6

Repl says that there is a division by zero error whenever I run it. I'm not sure where the error occurred. Can someone please help me? And before you ask, yes, it is for my C++ class.

Voters
FallenAngel6
try `cout >> pi >> " " >> peeps;` in your function to see what `cin` actually gave you.