1
0

for_char.c 182 B

12345678910
  1. /* for_char.c */
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. char ch;
  6. for (ch = 'a'; ch <= 'z'; ch++)
  7. printf("The ASCII value for %c is %d.\n", ch, ch);
  8. return 0;
  9. }