Question: . When the button on the form is clicked, the sum of the numbers between the number in the edit box named large_number and the

. When the button on the form is clicked, the sum of the numbers between the number in the edit box named large_number and the number entered in the edit box named lower_number should be displayed on the label named result. A small number is entered in the box named less_number from these edit boxes. Which of the following is the part of the program that will do this? (Variables tpl and n are defined as integer types)

a. For N: = inttostr (small_number) to inttostr (large_number) do tpl: = tpl + n; Result.caption: = inttostr (tpl); b. N: = strtoint (small_number.text) to strtoint (big_sayi.text) tpl: = tpl + n; Result.caption: = inttostr (tp1), c. For N = (lower_number.text) to (large_number text) tpl: = tpl + n; Result.caption = (tpl) D. n: = inttostr (lower_number text) and inttostr (large_number.text) tpl: = tpl + n; Result.caption. = Strtoint (tpl); for. N = tpl for text: = tpl + n; Result.text = tpl;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!