none
please help me with this program. in desperate need of the code RRS feed

  • Question


  • Create a VB application that calculates the cumulative sum for a range of values specified by the user.

    Cumulative Sum Example:

    Given a range of numbers : 1 2 3 4 5

    Cumulative Sum Sequence : 1 1+2 1+2+3 1+2+3+4 1+2+3+4+5

    Output 1 3 6 10 15 5.

    The application should

    1. Allow the user to enter the lower limit and upper limit for a range of numbers.

    2. When the button “Cumulative Sum” is clicked, using a FOR loop, calculate and display the cumulative sum sequence in a list box as shown in the sample output below.

    3. Use class variables and type casting wherever necessary.

    4. Choose an appropriate data type for the class variables.

    5. Set Option Strict to ON.

    6. The output (cumulative sum) must be displayed in a list box on the form.

    Friday, April 13, 2018 5:42 AM

All replies