View the step-by-step solution to:

Exercise 2, page 151 Output: This question was created from LP4_Collins_Latoya Chapter4.docx

This question was created from LP4_Collins_Latoya Chapter4.docx


The question is: In Exercises 1 through 6, for each of the responses shown in the parentheses, determine the output displayed in the text box when the button is clicked on. Private Sub btnDisplay_Click(...) Handles btnDisplay.Click Dim num As Double num = CDbl(InputBox("Enter a number from 5 to 12")) Select Case num Case 5 txtOutput.Text = "case 1" Case 5 To 7 txtOutput.Text = "case 2" Case 7 To 12 txtOutput.Text = "case 3" End Select End Sub (7, 5, 11.2) Can you help me with the correct answer?


Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.


Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question