Question: Using the LC3 simulator, write a program where the user must enter a password that satisfies the following criteria: o at most 12 characters and

Using the LC3 simulator, write a program where the user must enter a password that satisfies the following criteria: o at most 12 characters and at least 8 characters o may contain only capital A through Z, “*” or “ ” (space) characters - The process must continue until the user enters a valid password. To pull this off, you’ll need to utilize TRAPS, Branches, Loads/Stores, and pretty much everything LC3 has to offer.

The program works as follows: o Ask to enter a password of up to 12 characters. o If password has any characters that are not allowed, warn the user that at least one character is not allowed, and ask for another password o Once the user enters a password that only contains allowed characters, print “Password created” and halt the program.

Step by Step Solution

3.58 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer ORIG x3000 BR Main Functions FILL Testpack option 0 FILL Testunpack option 1 FILL TestprintCC option 2 FILL Teststrlen option 3 FILL Teststrcpy option 4 FILL Teststrcat option 5 FILL Teststrcmp ... View full answer

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 Computer Engineering Questions!