I need to convert 100 dollars to pesos, yens and euros. One US dollar maps to 18 Pesos, 0.89 Euros, and 111.28 Yen. it need to be in a table, with a width of 15 characters. the table basically has Dollars Yen Euros Pesos and underneath it has the output.
I have no clue where to start, please help! this is a hint we got: Pesos, Euros and Yen defined as const double values in your program
(I am not asking for anyone to do it for me, i just need help starting it)
Well, that would depend on what the instructions say. The hint does imply that you're meant to have the program do the calculation. So this program is probably not acceptable:
You need to create some numbers to output, right? So they're going to go in the line that starts "cout", because that's when they will be output. So you need to calculate those numbers before that line.