Question: Answer All Questions Using Visual Studio with MASM format Write a Complete Programming, Debug and Run the Code 5. Write a program to display a
- Answer All Questions Using Visual Studio with MASM format
- Write a Complete Programming, Debug and Run the Code

5. Write a program to display a 10 x 10 solid box of asterisks, ** Hint: declare a string in the data segment that specifies the box, and display it with INT 21h, function 9h. Output: Bonus Question Write a program that will prompt the user i. ii. iii. to enter a hex digit character ("O"...."9" or "A" ... "F"), display it on the next line in decimal, and ask the user either he or she wants to do it again. a. If the user types "Y" or "Y", the program repeats; b. If the user types anything else, the program terminates. c. If the user enters an illegal character, prompt the user to try again. Example of Result/Output ENTER A HEX DIGIT:9 DO YOU WANT TO DO IT AGAIN?y ENTER A HEX DIGIT:c ILLEGAL CHARACTER- ENTER 0-9 OR A-F:A IN DECIMAL IS IT:10 DO YOU WANT TO DO IT AGAIN?N
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
