In the answer, it's been said "
Because we have learned that the variable max should be
initialized to the lowest value in the range. Here, we are computing the max of total bill amount
at Sun General and the lowest possible value for any shopping bill is 1 not 0."
But we know money is Discrete value thus can be like 0.5 or <1.
If we initialize max to 1
then computation can give misleading result if:-
(i) no customer brought anything
(ii)max bill is of Rs 0.5 {theoretically it can be possible}
Please clarify