To find Biggest number
num=array("34","12","98","43","89","49","56")
For i=1 to ubound(num)
If (num(i)>num(0)) Then
num(0)=num(i)
End If
Next
print num(0)
To find smallest number
num=array("34","12","98","43","89","49","56")
For i=1 to UBound(num)
If (num(i)<num(0)) Then
num(0)=num(i)
End If
Next
print num(0)
Get some web table related Pgms.....
ReplyDelete