GUI Lab Programs 1 To 4
GUI Lab Programs 1 To 4
NO:1
SIMPLE ARITHMETIC CALCULATOR
DATE:
AIM
ALGORITHM
STEP 1: Start -> Program -> Microsoft Visual Studio 6.0-> Visual Basic 6.0
Dim a, b, c, d
Dim s As String
AIM
ALGORITHM
Step - 5: Through the Inputbox enter the number of series for printing
Fibonacci series
AIM
ALGORITHM
Step - 4: Keep the command button for getting the limit and finding the sum
Step - 5: Give the input for printing the sum of n numbers, based on the for loop
the input will be given in the text box until the condition is true.
AIM
To write a VB Program to display the numbers/symbols in trianlge
format.
ALGORITHM
Step - 4: keep the command button for printing the value in a triangle format.
Step - 5: Through the Inputbox enter the number of series for printing in a
triangle format according the i and j values in the for loop
Print ""
Print ""
Print ""
For i = 1 To n
For j = i To n
Print " * ";
Next j
Print ""
Next i
End Sub
OUTPUT
RESULT
AIM
ALGORITHM
STEP 1: Start -> Program -> Microsoft Visual Studio 6.0-> Visual Basic 6.0
Printing Line
Printing Square
Printing Circle
RESULT
AIM
To write a VB Program for create a simple input screen with four basic
controls to read input and write it to a file.
ALGORITHM
STEP 1: Start -> Program -> Microsoft Visual Studio 6.0-> Visual Basic 6.0