This a program that can solve geometric problems based on Pythagorean Theorem. We suppose everybody is already familiar with the above Theorem. However, some of you might have forgotten this theorem. So, let us list the formula here. By referring to a right angled triangle ABC, if the sides are AB, AC and AC respectively, where AC is the hypotenuse, then AB, AC and BC are connected by the formula AB^{2}+AC^{2}=BC^{2}

Using the above formula, you can calculate the third side if the the length of any two sides are know. For example, if AB=4 and AC=3 then BC=5. We have designed the VB program for the user to input any two sides and then he or she is able to calculate the third side automatically. The third side BC can be found by finding the square root of AB^{2}+AC^{2} .
In visual basic, the syntax is

BC= Sqr(AB ^ 2 + AC ^ 2)

We can also the function **Round** to round the value to two decimal places using the syntax **Round(BC, 2).**