Analysis – Input, Process, Output

Here are some fairly simple programs that will help you with the sequencing of programs.

Remember, Analysis will tell you

  • What the program needs to work (Input)
  • What the program needs to do (Process)
  • What the program will produce (Output)

Use Dia to design the programs below then implement them in VB2008EE

  1. Adds two numbers together and display the answer
  2. Multiplies two numbers together
  3. Calculates the area of a square field
  4. Calculates the area of a rectangular field
  5. Calculates the perimeter of a rectangular field
  6. Calculates the length of wire required to put a three stand fence round a rectangular field
  7. Calculates the volume of a cube, when the length is entered by the user (must use ^). Display the total surface area and volume of the cube.