Sorry, That was my first post :)
Now learnt and corrected.
Type: Posts; User: Jaikrishna
Sorry, That was my first post :)
Now learnt and corrected.
First get all the values as you did before.
Then if user selects to display the maximum number
perform
max=valc[0]
for(n=1 ; n<5 ; n++)
if(valc[n]>max)
max=valc[n];