Question: How do I write a scripture memorizer program that will do the following in C#? Store a scripture, including both the reference (for example John
How do I write a scripture memorizer program that will do the following in C#?
Store a scripture, including both the reference (for example "John 3:16") and the text of the scripture.
Accommodate scriptures with multiple verses, such as "Proverbs 3:5-6".
Clear the console screen and display the complete scripture, including the reference and the text.
Prompt the user to press the enter key or type quit.
If the user types quit, the program should end.
If the user presses the enter key (without typing quit), the program should hide a few random words in the scripture, clear the console screen, and display the scripture again.
The program should continue prompting the user and hiding more words until all words in the scripture are hidden.
When all words in the scripture are hidden, the program should end.
When selecting the random words to hide, for the core requirements, you can select any word at random, even if the word was already hidden. (As a stretch challenge, try to randomly select from only those words that are not already hidden.)
Use the principles of Encapsulation, including proper use of classes, methods, public/private access modifiers, and follow good style throughout.
Contain at least 3 classes in addition to the Program class.
Provide multiple constructors for the scripture reference to handle the case of a single verse and a verse range ("Proverbs 3:5" or "Proverbs 3:5-6").
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
