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

main() {
  char TheLovelyCharacterThatTheUserGaveUs;
  printf("Lab Session 2, Question 2.4\n"); /* Display program header */
  printf("Enter a lovely character: "); /* Prompt the user */
  scanf("%c", &TheLovelyCharacterThatTheUserGaveUs); /* Get the character from the user */
  printf("You typed: '%c'\n", TheLovelyCharacterThatTheUserGaveUs); /* Print it out again */
}

/* OUTPUT:
Lab Session 2, Question 2.4
Enter a lovely character: g
You typed: 'g'
 */
