This week was a shortened because the entire tenth grade had to write a literacy test on Thursday. We mostly spent our time working on a large Visual Basic program, although we had some lessons on arithmetic operators, comparison operators and logical operators. We also used dialog boxes in the large program that we were working on this week.
The program that we worked on this week calculated the weekly payroll of a worker, for the program to work correctly the information would be retrieved from the hours worked and the amount of cups sold. Once we finished the basic outline of the payroll program, we had to add a menu and two dialog boxes, so the user could enter their own hourly rate and tax rate. I finished the program and they work successfully.
I had a couple problems this week; one was with the dialog boxes and the other was calculating the commission according to the hours worked and cups sold. I had to figure out to put brackets on the calculations for the commission for the program to work. I also had some problems with the dialog boxes. In the beginning I thought we only needed one dialog box, later I figured out that we needed two, so for the first dialog box I had mixed up the code and the program was not working properly. Next week we are starting our first project in partners and I am eager to get started.
Friday, March 30, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment