#include <stdio.h> /* for input/output */

/* WARNING: This program does not accept multibyte characters!!! */

main() {
  char TheLovelyCharacterThatTheUserGaveUs;
  printf("Lab Session 2, Question 2.5\n"); /* Display program header */
  printf("Enter a lovely character: "); /* Prompt the user */
  scanf("%c", &TheLovelyCharacterThatTheUserGaveUs); /* Get the character from the user */
  printf("I think that that character has the integer value %i.\n", TheLovelyCharacterThatTheUserGaveUs); 
     /* Print it out again, effectively casting the character as an integer (hmm!). */
}

/* OUTPUT:
Lab Session 2, Question 2.5
Enter a lovely character: 6
I think that that character has the integer value 54.
 */

/* SEQUENCE:
space, numbers, capital letters, lowercase letters, symbols interspersed everywhere.
  ' ' = 32
  '0' = 48
  '1' = 49
  '9' = 57
  'A' = 65
  'Z' = 90
  'a' = 97
  'z' = 122
 */
