conventional method to find the gratest number using for loop
Discussion posts and replies are publicly visible
Why do you want to do it without the max() function when you can use it?
was practicing to do same as in c , using a local temp variable