One more time, read my posts above. Then think about the logical flow of the program - manually go through the flow of the program with some input, writing down how the values change, you will see...
Type: Posts; User: copeg
One more time, read my posts above. Then think about the logical flow of the program - manually go through the flow of the program with some input, writing down how the values change, you will see...
Yes, but think about the logic: if the first number is positive, max2 is set to 0, which will always be great than any negative number entered (same goes for the alternative where the user enters a...
The code initializes the max and min to zero, which will restrict their settings. Typically the better way to initialize these values is to a) initialize them to the first value or b) initialize to...