CSE 322 Summer 2018 Lab 11

August 23, 2018

Problem 1 (Chapter 10 question 9)

Write a program that uses XLAT to (a) read a line of text, and (b)print It on the next line with all small letters converted to capitals. The Input line may contain any characters-small letters, capital, letters, digit characters, punctuation, and so on.

//Code


To be done by students

Problem 2 (Chapter 10 question 10)

Write a procedure PRINTHEX that uses XLAT to display the content of BX as four hex digits. Test it In a program that lets the user type a four-digit hex Integer, stores it in BX using the hex Input algorithm of section 7.4, and calls PRINTHEX to print It on the next line.

//Code


To be done by students

Leave a Reply