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
- Adds two numbers together and display the answer
- Multiplies two numbers together
- Calculates the area of a square field
- Calculates the area of a rectangular field
- Calculates the perimeter of a rectangular field
- Calculates the length of wire required to put a three stand fence round a rectangular field
- 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.