Visual Basics 2010 Beginner

Please help design a program that demonstrate passing arguments ByVal and then ByRef. Help is needed with the coding.

It is suggested that I create a square function procedure and get an integer from the user then send it ByVal one time and get the result from the procedure and have the main program display the result. Then you can send it ByRef and have the procedure modify the original variable with the result which can be displayed.