Question
THE CODE SHOULD BE IN .asm FORMAT WORKING ON MICROSOFT VISUAL STUDIO AND IT INCLUDES THE IRVINE 32 INC AND LIB. Write an assembly language
THE CODE SHOULD BE IN .asm FORMAT WORKING ON MICROSOFT VISUAL STUDIO AND IT INCLUDES THE IRVINE 32 INC AND LIB.
Write an assembly language program that asks the user to enter an integer dollar amount between 1 and 5,000. Your program should display the corresponding class description using the following table. Write the program so that it executes until the user inputs some value that you determine to be the "sentinel value". Your program must guard against and provide user messages for input values that are outside the valid range.
Table 1
Donation Amount (dollars) | Class of Donation |
$4,000 to $5,000 | Platinum |
$3,000 to $3,999 | Gold |
$2,000 to $2,999 | Silver |
$1,000 to $1,999 | Bronze |
$1 to $999 | Copper |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started