V22.0002 - ASSIGNMENT 2


Write a program to compute the average score of four students and displays the average, both the value and in a graph. For each student you will enter 3 scores: assignments, midterm and a final. The average will be computed by the formula:

assignments * 0.20 + midterm * 0.30 + final * 0.50
Example run:
   Enter scores (3 scores for each of 4 students)
   90 72 80 95 78 60 100 82 70 98 92 90

   #  Ave.    10   20   30   40   50   60   70   80   90  1000

   1: 79.6                                        *
   2: 72.4                                    *
   3: 79.6                                        *
   4: 92.2                                              *

Notes and Hints: