Question: tasm assembly language create a program that will require password that is masked and will perform addition and subtraction if incorrect, ask for another trial

tasm assembly language

create a program that will require password that is masked and will perform addition and subtraction

if incorrect, ask for another trial up to 3 times. If reached 3 times, display

"Exceeded number of trials"

the character entered should be masked

ask for at least 4 digit password

options: a. Perform arithmetic operation b. provide ascending letters from the letter of choice c. exit

if choice is a 1. addition 2. subtraction

if choice is 1: input 1st number: (validation, number only 0-9, if not display "invalid")

input 2nd number: validation

display the sum

if choice is 2: same with number 1

after displaying, exit

if choice is b ask for a letter (with validation, small letters only, do not accept capital letters and numbers) - if not display "INVALID"

if z, display "Z" if 'b' display "B, C, D, E, ... Z" if 's', display "S, T, U, ... Z"

for clear screen mov al, 03 int 10h

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!