#1

like comparing which number is greater?

stock number()
{
new i = 10;
new ii = 20;
new iii = 30;
new iiii = 40;
new iiiii = 50;
new iiiii = 60;
new iiiiii = 70;
new iiiiiii = 80;
new iiiiiiii = 90;
new iiiiiiiii = 100;

return more;
}

I do not know do comparison =\
Reply
#2

What do you mean? Who do you exactly want?
Reply
#3

i want to compare which variable out of 10 different ones has the highest value, but I'm not sure how to do it
Reply
#4

Why do you need it??There might be a reason for the comparison?,right? Use the Swich case then or you can use If case's for that as well!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)