Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How to write a journal program that will do the following in C#? Write a new entry - Show the user a random prompt (from

How to write a journal program that will do the following in C#?

Write a new entry - Show the user a random prompt (from a list that you create), and save their response, the prompt, and the date as an Entry.

Display the journal - Iterate through all entries in the journal and display them to the screen.

Load the journal from a file - Prompt the user for a filename and then save the current journal (the complete list of entries) to that file location.

Save the journal to a file - Prompt the user for a filename and then load the journal (a complete list of entries) from that file. This should replace any entries currently stored in memory.

Provide a menu that allows the user choose these options

Your list of prompts must contain at least five different prompts. Make sure to add your own prompts to the list, but the following are examples to help get you started:

Who was the most interesting person I interacted with today?

What was the best part of my day?

How did I see the hand of the Lord in my life today?

What was the strongest emotion I felt today?

If I had one thing I could do over today, what would it be?

Your interface should generally follow the pattern shown in the video demo below.

Contain classes for the major components in the program.

Contain at least two classes in addition to the Program class.

Demonstrate the principle of abstraction by using member variables and methods appropriately.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 International Workshops Gdm Benchmarx Mcis Snsmw Diew Udm Tsukuba Japan April 2010 Revised Selected Papers Lncs 6193

Authors: Masatoshi Yoshikawa ,Xiaofeng Meng ,Takayuki Yumoto ,Qiang Ma ,Lifeng Sun ,Chiemi Watanabe

2010th Edition

3642145884, 978-3642145889

More Books

Students also viewed these Databases questions

Question

2. What is the impact of information systems on organizations?

Answered: 1 week ago

Question

Evaluate the impact of technology on HR employee services.

Answered: 1 week ago