S
silusilusilu
I wrote ,as homework, a program that displays words after key pressed.
So, if letter 'A' is pressed, the word 'dog' appears; if letter 'B' is
pressed 'cat' appears; if letter 'a' is pressed 'apple' appears; and
so on...
I wrote this program with a lot of switch case, so i want to obtain a
smaller program (if possible)...can you help me?
So, if letter 'A' is pressed, the word 'dog' appears; if letter 'B' is
pressed 'cat' appears; if letter 'a' is pressed 'apple' appears; and
so on...
I wrote this program with a lot of switch case, so i want to obtain a
smaller program (if possible)...can you help me?