Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Write an ALP that will continuously take in a double digit number and display the ascii character equal

to it. The input given by the user should not be displayed only the ASCII values must be displayed. This
program must run until the user presses ‘.’ which should not be displayed.

Each user entry must be in the next line

For e.g. if the user input is

‘67’

The ALP should display

‘g’

If the user enters ‘41’ next

The ALP should display ‘A’

If the user enters ‘32’ next

The ALP should display ‘2’

This should continue until user presses ‘.’ key

You can assume user will only enter the ASCII Equivalents of numbers or characters from ‘a’ to ‘h’
or ‘A’ to ‘H”

You might also like