Write a program that creates/updates a text file that represents a Journal for the user of the program. This Journal should be formatted as followed: mm/dd/yy HH:MM:SS XX Entry 1 mm/dd/yy HH:MM:SS XX Entry 2 mm/dd/yy HH:MM:SS XX Entry 3 How to Get Current Date and Time string current datetime = Convert.ToString(DateTime.Now); Console.WriteLine(current datetime);

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 15RQ
icon
Related questions
Question

Using C# programming language. Please solve.

 

Write a program that creates/updates a text file that represents a Journal for the user of the program. This Journal should be formatted as followed:
mm/dd/yy HH:MM:SS XX
Entry 1
mm/dd/yy HH:MM:SS XX
Entry 2
mm/dd/yy HH:MM:SS XX
Entry 3
How to Get Current Date and Time
string current datetime = Convert.ToString(DateTime.Now);
Console.WriteLine(current datetime);
Transcribed Image Text:Write a program that creates/updates a text file that represents a Journal for the user of the program. This Journal should be formatted as followed: mm/dd/yy HH:MM:SS XX Entry 1 mm/dd/yy HH:MM:SS XX Entry 2 mm/dd/yy HH:MM:SS XX Entry 3 How to Get Current Date and Time string current datetime = Convert.ToString(DateTime.Now); Console.WriteLine(current datetime);
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning