clerkman1612
Journeyman
I want to know about a program which find itself the maximum and minimum numbers in data of arrays(JavaScript)? I m using adobe dreamweaver.
I m very confused. Plz tell me.
take example
var a = new Array
a[0]=1
a[1]=2
a[2]=3
a[3]=4
a[4]=5
now here we have to find what is maximum and mininum no in this arrays?
Obviously answer is 5 and 1 respectively.
Thanks in Advance
I m very confused. Plz tell me.
take example
var a = new Array
a[0]=1
a[1]=2
a[2]=3
a[3]=4
a[4]=5
now here we have to find what is maximum and mininum no in this arrays?
Obviously answer is 5 and 1 respectively.
Thanks in Advance