Question
Create a Java program that builds your own customizable translation dictionary. (Ex: English & Spanish) (*these are just my ideas on how I would do
Create a Java program that builds your own customizable translation dictionary. (Ex: English & Spanish) (*these are just my ideas on how I would do it*)
1) Ask user if they want to look up a word to translate or add a word translation *Enter 1 for translation, 2 for adding a translation* (* Use bufferedreader or scanner to read and then depending the entry, follow two different methods in the program *)
Translate option: 1) Ask user What language is the user's word entry in? (*1 English, 2 Spanish*) 2) Display the translation of the word the user entered
Adding Translation: 1) Ask for English version of word 2) Ask for Spanish version 3)Print completion msg. System.out.println("Word added") (* Thinking about making two .txt files which the java program writes and reads from English.txt & Spanish.txt*) 4) The english.txt entries needs to be organized alphabetically, I'm stuck on this part as it breaks my potentional entry of arrays.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started