Display ASCII and hexadecimal code
Hello,
The objective of this exercise is to display the ASCII and hexadecimal code of a digit or a letter.
Program menu (displayed in a loop until the user chooses to exit):
Hello, what would you like? :
1 - Display the ASCII and hexadecimal code
2 - Exit
…
If choice 1:
Please enter the letter or digit:
…
The code of … is: … in ASCII and … in hexadecimal
…
If choice 2:
Goodbye
Configuration: Windows / Firefox 68.0
The objective of this exercise is to display the ASCII and hexadecimal code of a digit or a letter.
Program menu (displayed in a loop until the user chooses to exit):
Hello, what would you like? :
1 - Display the ASCII and hexadecimal code
2 - Exit
…
If choice 1:
Please enter the letter or digit:
…
The code of … is: … in ASCII and … in hexadecimal
…
If choice 2:
Goodbye
Configuration: Windows / Firefox 68.0