Data Validation, Looping, and Constants in MASM Assembly language. Program Description Write and test a MASM program to
Posted: Thu May 05, 2022 12:54 pm
Data Validation, Looping, and Constants in MASM Assembly
language.
Program Description
Write and test a MASM program to perform the following
tasks:
Example of what execution should look like:
After entering a positive integer, the following should be
printed:
You entered ( ) valid numbers.
The maximum valid number is ( )
The minimum valid number is ( )
The sum of valid numbers is ( )
The rounded average is ( )
followed by an exiting or farewell statement with the username
included.
Data Validation, Looping, and Constants by John Doe What is your name? John Doe Hello there, John Doe Please enter numbers in [-200, -100] or [-50, -1]. Enter a non-negative integer when you are finished for the results. Enter Number: -45 Enter Number: -200 Enter Number: -150 Enter Number: -5 Enter Number: -1 Enter Number: 0
language.
Program Description
Write and test a MASM program to perform the following
tasks:
Example of what execution should look like:
After entering a positive integer, the following should be
printed:
You entered ( ) valid numbers.
The maximum valid number is ( )
The minimum valid number is ( )
The sum of valid numbers is ( )
The rounded average is ( )
followed by an exiting or farewell statement with the username
included.
Data Validation, Looping, and Constants by John Doe What is your name? John Doe Hello there, John Doe Please enter numbers in [-200, -100] or [-50, -1]. Enter a non-negative integer when you are finished for the results. Enter Number: -45 Enter Number: -200 Enter Number: -150 Enter Number: -5 Enter Number: -1 Enter Number: 0