Dollar Amount Formatter
Modify Program 12-17 by adding a function
string dollarFormat(double amount)
that takes a dollar amount in numeric form and returns a string formatted in currency
notation, with a $ sign and commas inserted at the appropriate locations. Test your
function using suitable inputs.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here