Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

Describe key customer feedback collection tools.

Answered: 1 week ago

Question

Know what customers expect from the firm when they complain.

Answered: 1 week ago

Question

Understand why customers complain.

Answered: 1 week ago