Click here to Skip to main content
15,030,320 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i entering 1 to 10 no in textbox i want to find big integer among these no on button click
how it is possible
Posted

1 solution

C#
if  there is 10 text box than no problem :)
while not possible to  judge 10 or two digit number in text box 0-9 is ok and you can find bigest no like this
string s = "149682735";
            char[] ch = s.ToCharArray();
              Array.Sort(ch);
              Array.Reverse(ch);// ch.Reverse();
              string big = ch[0].ToString();


if you specify by any special charchter than you can split by that character and applyfollwing process




happy coding :) :) :)
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900