Quote Originally Posted by Loraine
Excuse me ! .. any1 can help me on my assignment .... coz its my first time to encounter this type of program ...... this is:

i have 2 textboxes ....

The 1st textbox where the user inputs how many textboxes will appear the maximum of 10 .... Ex: when i type 2 ... there would be another 2 textboxes will appear .....

when the textboxes shown up .... the user will input a maximum digits of 10 and minimum of 10... Ex: 1st textbox = "1234567890" 2nd textbox="1234567890"

And the 2nd textbox where the user input the folding process. Ex: "1+2+34+56+78+90" or 12345+67890"

And there must be a message which shows the answer ....

[ P.S ]
when the user inputed a " - " minus and " - " negative sign it must be a error

Please help me

And also i would like to know ... how to get the middle number ...
Coz i have another 2 boxes but in different form ....

the first textbox would be disame the user input how many textboxes would appear Ex: 2 another 2 boxes will appear

and also when the 2 boxes shown up it's also disame that the user input a maximum and minimum of 10 digits

But this time the 2nd textbox must get the middle number Ex: 1st txtbox = "12345" it should be the middle term "3" and squared it. Another Ex: "123456" the middle term is "34" and squared it again

help me please