I'm having a hard time understanding the work assigned for a project. I was wondering if anyone would be willing to help me. I thank you in advance.
Rudimentary Translator gives English words and their French and German equivalents. Store these words in a text file and read them into a structure having a member for each language. Write a program that sorts arrays according to the English words. The program should then request an English sentence as input from the keyboard and translate it into French and German. For example, if the English sentence given is MY PENCIL IS ON THE TABLE, the French translation will be MON CRAYON EST SUR LA TABLE, and the German translation will be MEIN BLEISTIFT IST AUF DEM TISCH.
Note: Assume that the only punctuation in the sentence is a period at the end of the sentence. Use a binary search to locate each English word.
The English words and their French and German equivalents.
English French German
YES OUI JA
TABLE TABLE TISCH
THE LA DEM
IS EST IST
YELLOW JAUNE GELB
FRIEND AMI FREUND
SICK MALADE KRANK
MY MON MEIN
LARGE GROS GROSS
NO NON NEIN
HAT CHAPEAU HUT
PENCIL CRAYON BLEISTIFT
RED ROUGE ROT
ON SUR AUF
AUTO AUTO AUTO
OFTEN SOUVENT OFT


