I am writing a program to convert dollars to various currencies. Everything is working, except the final answer is not formatting correctly. The answers are computing correctly (10253.00) but the decimal place is wrong, as it should be 102.53 not 10253.000. How can I fix this?
// This program tells the user how to make change.
#include <iostream>
#include <cstdlib>
#include <iomanip>
#include <stdio.h>
Im pretty sure the computed value is correct. I just converted 100 bucks to yen on several online converters and they all spit out a value of around 10253.00 yen.