-
comparing variables
hi
this is a very simple question but i can't work it out!
i have five variables and i'd like to compare them to see which has the highest value and the do an action according to which is the highest
i could do one saying
if (A is bigger than B & C & D & E)
do this
else if (B is bigger than A & C & d & E)
do this
etc etc
but it seems very clunky
any ideas?
thanks
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|