Clarifications on Programming Assignment 3

Echoing the numbers on the screen

You need to echo back on the screen the number that is input by the user. See sample output in the assignment specification. Remember you cannot use TRAP x23.

You do not have to check for invalid input

In this program you do not have to check whether the user has input a valid digit or not. It is optional to implement this check. However, if you do want to implement the check for invalid input you should follow the exact output format that is shown in the assignment specification. (i.e. output "Invalid input.") Also, if you do implement invalid input checking mechanism, write that you have implemented it in your comments before your code in the file you submit.

Regardless of whether you implement invalid input checking mechanism or not, an input that is not a digit should count as an incorrect guess.