so I tried this code, took some parts of it from this forum. my answer is not coming okay though. I\'m getting weird numbers for min and max. can anyone tell me what did I d