CIS156/56 IF statement assignment:
Here are the specifications:
- Set up
appropriate label and text boxes to take in a name, a major code, an exam
grade, a homework grade, and a project grade
- Set up
a label to receive the students letter grade
- Set up
a text box to receive the answer from button 2.
- Change
a font and color for two labels and two text boxes (experiment with
different things)
- Add 3
buttons that will do the following:
- Button
1 should be labeled calculate grade and the font and color should be
other than the default. When the
button is clicked the code should determine the grade where the exam and
project each are 25% of the grade and the homework is 50% of the
grade. The letter grade should be
displayed in the appropriate text box.
- Button
2 should be appropriately labeled.
When it is clicked you should check the major and the grade on the
project. If the major is CI and
the grade on the project is equal to or greater than 80 then a message
telling the student they are doing well should be displayed in a text
box. If the major is CI and the
grade on the project is less than 80 then a message telling the student
that they should revise the project should be displayed. If the major is
not CI then the message saying the student is not a CI major should be
displayed.
- Button
3 should be appropriately labeled.
If the major is CI or BU or OF a message saying Division III
should be displayed. If it is any
other major a message saying not Division III should be displayed.