
HERE max is initialized to 1 BUT however PROFESSORS HAVE told us not to take and VALUE in initialization that could a possible value in the data set that we are computing
THOUGH our data set DOES NOT have any BILLS with Rs1 BUT Rs1 is a POSSIBLE VALUE so taking MAX=1 is NOT GOOD , because LETS ASSUME THAT rs1 IS the HAVE Value spent in a shop the the code will show MAX=0 WHICH is INCORRECT