CSIS
1560: BASIC Programming
Assignment 4: Branching Statements
Due Nov. 6
·
Make
sure that your code validates all input, displaying an informative
message box for inappropriate input.
·
You
are to also do Challenge 2, displaying the results (type of card and credit
limit) in the label at the bottom of the screen.
·
You
are to break your code down into smaller functions and subroutines, as you did
in the previous assignment. At a minimum, you should have separate
subroutines/functions for the following:
o Determining whether input is
valid.
o Determining the limit and
type of card (if any).
·
Make
sure that your code is well documented. In particular, make sure
that it describes the purpose of each If statement, and what each
branch represents.
·
Make
sure that you test your program thoroughly, coming up with at
least one case for each possible branch.
·
Save
this project as Credit.frm and Credit.vbp. Make sure that your name
is on the diskette!