Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

! How to save an how to save a t Introductio × homework helpintroduction to Prog

ID: 3876209 • Letter: #

Question

! How to save an how to save a t Introductio × homework helpintroduction to Programming Usang Visual Basic 10th edition chapter 71 -) cheggo EXPERT Q&A; CheggStudy TEXTBOOK SOLUTIONS (2 Bookmarks) Show all steps Chapter 7.1. Problem 56E Cl. Visual Studio 2010Branctlaumbbelhinipebug 2 students bookmarked this problem. Save it for later Comment Step 4 of 5 A Private Sub btnDisplay_click(ByVal sender As System.object, Byval e As System. EventArgs) Handles btnoisplay.click Din presidents() As String =10.File.ReadA||Lines("USPres. txt") Dim L-Bound As Integer CInt(txtLowe r. Text) Dim u-Bound As Integer CInt(txtupper . Text) For I As Integer L Bound 1 To u-Bound . 1 1stoutput.Items.Add(11&& presindents (1)) Next End Sub

Explanation / Answer

According to me,

i should be non negative integer .array will not accept negative integer .

so ,you try catch exception to throw when it gots negative number are make sure i will not be non negative integer at any point of execution.