Visual Basic Lteractions – Repeating Instructions

Posted: February 4th, 2012 | Author: | Filed under: Visual Basic Tutorial (Series) | No Comments »

In the last tutorial we learn’t Visual Basic: String Padding – Aligning Text now lets try something a little bit more practical and learn something on your own merit.

Exercise – Circle Area Calculator

A user requires a program that calculates the area of a circle given the circle’s radius.

Before starting to program identify the inputs, processes (i.e. the calculations and formulas and the outputs of the program.)

Inputs Process Outputs

Table 2: Inputs, Processes and outputs for the circle area calculator

Here is a possible output:

Next we’ll be looking at Visual Basic: Using a “do while” loop

 



Leave a Reply