Solution for Exercise 9-8

ex0908

#include <stdio.h>

int main()
{
    char alphabet;

    for(alphabet='A';alphabet<='Z';alphabet=alphabet+1)
    {
        printf("%c",alphabet);
    }
    putchar('\n');
    return(0);
}

Notes

* You could replace Line 9 with putchar(alphabet) and the output would be the same.