Question: Two integers are read from input into variables grade 1 and grade 2 . Assign avg _ test _ grade with the average grade per

Two integers are read from input into variables grade1 and grade2. Assign avg_test_grade with the average grade per test. Then, convert avg_test_grade to an integer.
Click here to show example
Ex: If the input is:
86
79
then the output is:
82
Note: The average is the sum of all values divided by the number of values.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!