The problem I'm having is when I put in a negative value (e.g -0.20), it adds 0.20 instead... Even if I pass in a direct value (meaning not using cin), it still adds it
i suggest a math refresher. its good to know the bare basics of math. when you subtract a negative, it adds them. short of writing your own Double class, there is no way around this. a basic rule of math is that when subtracting a negative, its added instead