A visual basic solution that accepts two numbers from the user and displays one of the following messages:First is larger,Second is larger,Numbers are equal.After outputting one of the three messages,next is to calculate the average of the 2 numbers and display it.