Monday, March 14, 2011

SELECTION CONSTRUCT


            Source Code:


                          
                                   Output:



Explanation:
In a selection construct, you will use a conditional statement. For this program I used If-then-else statement.
Purpose: to secure your account information



SEQUENCE CONSTRUCT

                   Source Code:


                        Output:



Explanation:
In a sequence construct, you have to follow a series of instructions sequently. First, I load Microsoft Visual Basic 6.0. I created 2 textbox, 2 labelbox, and 2 command buttons. Next, I created a code on the command button. I tested it to see if it is error-free.