Challenge

Project 1 - English Dictionary App & Library Book Management System

Starting English Dictionary Application....

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 5

Check the input entered by the user.
Either invalid command or invalid word/ meaning was entered !!

-x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x-

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 2

Enter a word to search its meaning in the English dictionary: cycle

The word "cycle" is not present in the dictionary.
Returning back to the main menu...

-x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x-

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 2

Enter a word to search its meaning in the English dictionary: Cyclic...

The word "cyclic" is present in the the dictionary.
The meaning of "cyclic": recurring in circles

-x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x-

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 1

Enter an english word: banter
Enter the above word's meaning as single string: playful conversations

The word "banter" is already present in the dictionary.
Returning back to the main menu...

-x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x-

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 1

Enter an english word: hello
Enter the above word's meaning as single string: Greetings..

The word "hello" is already present in the dictionary.
Returning back to the main menu...

-x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x-

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 2

Enter a word to search its meaning in the English dictionary: Hello

The word "hello" is present in the the dictionary.
The meaning of "hello": greetings

-x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x-

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 3

Enter a word whose meaning you want to update in dictionary: haughty
Enter the updated meaning for the word: disdain

The word "haughty" is present in the the dictionary.

The meaning of word "haughty" has been changed to: disdain

-x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x-

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 2

Enter a word to search its meaning in the English dictionary: Haughty

The word "haughty" is present in the the dictionary.
The meaning of "haughty": disdain

-x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x--x-

               Main Menu
----------------------------------------
    Command               User_Input
----------------------------------------
Add a new word                 1
Find the meaning               2
Update a word                  3
Exit                           4
----------------------------------------

Enter any of the numbers associated with the commands above: 4

Exiting the program as the command Exit was selected
Closing English Dictionary Application....
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.