Program that checks if a user inputted double variable is valid breaks when it's not valid. How do I fix it?You can also do this [code]cin.clear(); while (cin.get()!='\n')continue;[/code] so that it doesn't g...
Program that checks if a user inputted double variable is valid breaks when it's not valid. How do I fix it?Don't know if it's the best method to do this but [code]double getDollarAmt() { double dollarAmou...
Need helpUse code tags. Can't see any changes from the first post... [code]#include <iostream> using namespa...
I need help with the programYou use return before the loop terminates therefore you get a false value since the first number is ...
Need help[code]if( accBalance <= 1000 || accBalance > 0 ){[/code] If accBalance is -100, interest is stil ad...