CSIS
1560: BASIC Programming
Assignment 2: Arithmetic Computations
Due Oct. 9
·
Before
you begin writing the code, think carefully about your design:
o What basic steps must your
program take, and in what order?
o How will the necessary
computations be done?
o What variables will you
need, and what type should they be?
·
Since
there are a number of steps your program must accomplish, consider implementing
it incrementally – that is, writing it one step at a time, and using the
debugging tools to check the correctness of each step.
·
Since
there are a number of things in this problem (particularly related to costs)
that are subject to change in the future, use constants where
appropriate.
·
Make
sure that your code is well documented. In particular, make sure it is
clear what each variable in your program represents. As mentioned in
class, this can be based on your initial design.
·
Save
this project as Cookies.frm and Cookies.vbp. Make sure that your name
is on the diskette!