Question: Using MASM irvine 3 2 . inc Your program will require to get 5 integers from the user. Store these numbers in an array. You

Using MASM irvine32.inc Your program will require to get 5 integers from the user. Store these
numbers in an array. You should then display stars depending on those
numbers. If it is between 50 and 59, you should display 5 stars, so you are
displaying a star for every 10 points in grade. Your program will have a
function to get the numbers from the user and another function to display the
stars.
Example:
5930834211//the Grades the user input
*****
***
********
****
*
I will check the code to make sure you used arrays and loops correctly. I
will input different numbers, so make it work with any (I will try very large
numbers too so it should use good logic when deciding how many stars to
place).
Quick note about displaying the stars. It should only display stars in a string with "*" in it. Do not create multiple strings for each case such as "*" for 1 star, "**" for two stars and so on. The loop should handle how many times you display the "*" string. At the end, you can call crlf to go to the next line and handle the next element in the array of numbers.

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!