Hello everyone, new guy on the forum here. I've looked all over youtube and google as well, but I cannot seem to find what is going on with my program. Essentially, what it is supposed to do is that the user inputs a number, lets say 12.2845. This is supposed to be a weight in kg. Then the program is to print kg and a converted kg into lbs, while limiting the decimal places to just 2 decimal places.
Well, just to be clear: Your compiler doesn't run your program or output its code, you do. Your compiler just creates the program.
What compiler is it? If you're working in an IDE, try doing a "clean" of your project, there might be something misconfigured and it's using an older version of your code.
Well I'll be damned, I ran it in the program that this website has, and it does it correctly. I guess its just the shitty website that I am learning c++ on.