Hey guys, when i doing my VB, i get stuck on the try catch end try...i dono where should i put the try catch end try for the question..this is my question Using loop statement, write a VB .NET program that prompts TWENTY (20) integers in
the range of 1 to 100 (both inclusive) from the user in input boxes, determines and prints
the largest and smallest values in a message box.
i done my coding until here :
Dim x As integer Dim num As integer Dim max As integer Dim min As integer X = 0 Do while (X < 20) num = Inputbox("Enter integer") If x = 1 Then max = num min = num else End If If num > max then max = num End if If num < min then min = num End if Next MessageBox.Show ("The largest number is " & max) MessageBox.Show ("The smallest number is " & min) End End sub End class