As, you have seen this code, this runs for only numbers from 1 to 10 ,and accordingly takes input from the user .
I want to run this program for n command line arguments. So I have done this :-
max=0
echo Enter the numbers from which max no. is to be chosen
for i in $*
// Here, in the end, the problem is that $* stands for No. of command line line arguments , how do I read n command line arguments and work accordingly ?