Create a program to implement a bi-lingual dictionary. Carry out the following tasks:
Set up an array to contain pairs of equivalent English and Spanish words. When an English word is input, look up its Spanish equivalent and display it. Make sure you check to see whether the word is in the dictionary. If not, then display a suitable message.
Then add the facility to translate in the opposite direction, using the same data.
Comments
Leave a comment