Answer to Question 06E-1

  int n;
  scanf("%i", &n);
Did you remember to write &?