Thats much better...
A small suggestion - have a boolean variable to check if finding max/min is done - this should be set to false initially, again set to false after receiving input data, and set to true after sorting. Now, in show data module, check if this boolean variable is true (to check if max/min is found) and if not, call the comparing module from inside show data module... This way, if someone calls show data module without running the compare module, it will not give error... Also, if the data is changed after comparing is done, it will know that the data is changed and will recheck the maximum/minimum
Further suggestions:
1. If you want, you can set size of i dynamically by asking number of numbers and assigning array size accordingly. You can have a variable for that also if you want...
2. Depending on requirement, comparing module can be made private...
Do get suggestions from others also... I am personally not a professional programmer though I have more done than 10 years of casual small scale programming
Arun