Given a list of scores and a passing score, you are asked to find out the number of scores which are equal to or higher than the passing score, the lowest score, and the highest score. For examples, if the list of scores is as follows: 46, 58, 55, 43, 89, 93, 77, 82, 99, 64; and if the passing score is 60, then the answers should be 6, 43 and 99. Implement the above task using MIPS. Initialize the array of scores in memory using any integer values between 0 and 100. The passing score should be obtained from user’s input and the answer must be printed out.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section: Chapter Questions
Problem 14PP
icon
Related questions
Question

Given a list of scores and a passing score, you are asked to find out the number
of scores which are equal to or higher than the passing score, the lowest score, and
the highest score. For examples, if the list of scores is as follows: 46, 58, 55, 43,
89, 93, 77, 82, 99, 64; and if the passing score is 60, then the answers should be 6,
43 and 99.

Implement the above task using MIPS. Initialize the array of scores in
memory using any integer values between 0 and 100. The passing score should be
obtained from user’s input and the answer must be printed out. 

 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Random Class and its operations
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning