This is my second program after Hello World, of if my issue seems elementary, is because I just got started.
My program is supposed to ask the user to type in the exchange rate between two currencies (got that part). Second, ask the user to enter currency amounts (got that part), when the user enters 0 (sentinel value), convert each entry into the new currency, this is where I am stuck. Right now it takes all of my values adds them up and multiply by the exchange rate. I need to have each entered value print as the new rate.
I know that I need to set a variable to hold all of the unique values, I thought I did that below, but is not working as planned.
> I know that I need to set a variable to hold all of the unique values, I thought I did that below
¿where?
Either process the input online, or use a container (like std::vector)