Well, it's C syntax, so code clarity is off the table before you even got started, but within that context I've seen far, far worse.
My only issues is the vague naming conventions. whilst certainly i,j,k for loops is "industry standard" and require no explanation, what is "n"? What are maxN and minN the max and minimum of? I mean I get it, it's a number where the min and max are read from the console, but you come back to this in a year or two or if someone less skilled has to deal with it, more verbose/explanatory names are your friend.