Assembly language 32 bit MASM Irvine Your program will require to get 5 integers from the user. Store these numbers in
Posted: Sat May 14, 2022 7:30 pm
Assembly language 32 bit MASM Irvine
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:
59 30 83 42 11 //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).
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:
59 30 83 42 11 //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).