I am having trouble figuring out how to store a letter into a variable of the type char. I have an example of some code below. Thanks in advance.
JK
Code:#define number_of_letters 6 char letter; enum type_of_letter { a, b, c, d, e, f } for (i=0; i<number_of_letters; i++) { letter = ??? //want to copy the letter found in "type_of_letter" to letter. }