I need to understand some basic C++ for a school assignment. I am a 12th grade programmer going to uni next year for CS and my main language right now is Java.
This program is meant to take in 3 numbers, if the numbers are in descending order, they should be printed, however when i print numbers such as 3,2,1 the numbers 0,124,0 are printed instead. How can i fix this?