Visual Basic Lab Assignment:
Problem #1:
Write a program to take in an exam grade, a project grade and homework grade (they should be entered as numbers). You should then calculate the average giving each one equal weight. Finally you should display the letter grade that the student will receive using IF statements.
Problem #2: Visual Basic Arrays
Set up the following array for vacation resorts:
|
Resort No |
Resort Name |
|
1 |
Lake View |
|
2 |
Laurel Ridge |
|
3 |
Mountain View |
|
4 |
Running Creek |
|
5 |
Rocky Ridge |
Have a textbox to take in the resort number and display the resort name on the screen.
If you do not have access to Visual Basic, you should write the code following the examples in the slide show and explain what would be on the form.