CSc 310 Project 0: Project Score Computation (not collected; solution to be posted) You are given a C++ program that computes the scores and statistics for a class of students. The program reads in the number of projects for each student, and the project scores for each student. If the first project score for a student is less than zero, there are no more students, and the program stops reading in scores. It computes the average score for each student, and counts the number of students that obtained each letter grade (90-100 A, 80-89 B, 70-79 C, < 70 F). It also adds up all the scores for the entire class, and computes the average score for the class. You may assume that the project score will always be in the range 0 to 100 (except when there are no more students to be entered). At the end, the program prints the number of students who obtained each letter grade, and the approximate average score for the class. A sample run for 3 students with 4 projects each can be found in ~whsu/310/PROJECTS/p0.ex. You may assume that all variables are integers, and you are using integer division only. The C++ program can be found on libra in ~whsu/310/PROJECTS/p0.cc. Translate this C++ program to MAL. Don't panic: part of the program is already translated for you and can be found in ~whsu/310/PROJECTS/p0.s. The location of most variables have been chosen for you; the more frequently used ones are in registers, and the less frequently used ones are in memory. All you have to do is copy p0.s into your directory and fill in the missing parts. Your program uses nested loops. A good idea is to use flow charts to design your code first, and then write the assembly language program. You may also start by writing the inner loop, making sure that works, and then writing the outer while loop. Make sure your program produces the same prompts and output results as the C++ program. Submission: Do not submit your solution. This project is to help you prepare for Quiz 2 and will not be graded. A solution is available in ~whsu/310/PROJECTS/p0.soln. Note that p0.soln is also documented according to the guidelines given in Chapter 2 of your lecture notes. You will have to document your MAL programs for the next project, so it's good practice to start doing that for Project 0. (Obviously, you should write p0.s yourself and get it to run, before looking at p0.soln! Keep in mind that you'll have to translate C++ code to MAL for Quiz 2, and this is your practice problem for it.)