create a program called Sum of Numbers,

computer science


I have to create a program called Sum of Numbers, with two buttons ( Enter numbers & Exit). The InputBox will be called Input Needed and will ask: Enter the positive integer value. The answer will come in a message call Sum of Numbers stating: The sum of the number 1 through is If the user enters a negative value, his application should display an error message. Use the following data: Value Sum 5 15 10 55 20 210 100 5050 This is what I have so far, but I can't get the result to show in the MessageBox Dim strUserInput Dim IntUserInput As Integer Dim i As Integer strUserInput = InputBox("Enter a positive integer value", "Input Needed", 10) If strUserInput String.Empty Then Try IntUserInput = CInt(strUserInput) If IntUserInput

Related Questions in computer science category

The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.