WindSailor
Registered User.
- Local time
- Yesterday, 22:33
- Joined
- Oct 29, 2003
- Messages
- 239
How would I go about doing this... ?
Have a value "A", a limitation on how many times you can use "A" by the value of "AA".
Another value "B", again with a limitation on how many times you can use "B" by the value of "BB".
Use all four values to come up with a value "C".
Example1:
A=50; AA=1; B=10; BB=20; C=70
50+10+10=70
Example2:
A=50; AA=4; B=10; B=20; C=70
50+10+10=70
Example3:
A=50; AA=0; B=10; BB=20; C=70
10+10+10+10+10+10+10=70
The user has the ability to input the values for "A", "AA", "B", "BB", and "C". I can substitute those values but I would like to see how the code works and it has to handle any values given or inserted.
Finally... the left side of the equation needs to be displayed in a one text box and the right in another text box.
Thanks
Have a value "A", a limitation on how many times you can use "A" by the value of "AA".
Another value "B", again with a limitation on how many times you can use "B" by the value of "BB".
Use all four values to come up with a value "C".
Example1:
A=50; AA=1; B=10; BB=20; C=70
50+10+10=70
Example2:
A=50; AA=4; B=10; B=20; C=70
50+10+10=70
Example3:
A=50; AA=0; B=10; BB=20; C=70
10+10+10+10+10+10+10=70
The user has the ability to input the values for "A", "AA", "B", "BB", and "C". I can substitute those values but I would like to see how the code works and it has to handle any values given or inserted.
Finally... the left side of the equation needs to be displayed in a one text box and the right in another text box.
Thanks