We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Nope. I did with array. I didn't initialize the max and min to the first elements of the array (stupid me! i initialized to max=0 and min=0). Having found the error, I added an if block for that :) My for loop..
Breaking the Records
You are viewing a single comment's thread. Return to all comments →
Nope. I did with array. I didn't initialize the max and min to the first elements of the array (stupid me! i initialized to max=0 and min=0). Having found the error, I added an if block for that :) My for loop..