1
0

skiptwo.c 250 B

123456789101112
  1. /* skiptwo.c -- skips over first two integers of input */
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. int n;
  6. printf("Please enter three integers:\n");
  7. scanf("%*d %*d %d", &n);
  8. printf("The last integer was %d\n", n);
  9. return 0;
  10. }