Lazy Programming Series

Lazy Programming Series – Challenge – 4

Challenge – 4

Problem Statement:

Develop a Business Management System capable of handling assignments and projects for three clients, namely Neeraj, Abhishek, and Rahul. The system should provide functionalities to log assignments/projects and retrieve them based on client input.

Key Requirements:

  1. Logging Functionality:
  • The system should allow users to log assignments or projects for each client.
    • Users should be prompted to select the client (Neeraj, Abhishek, or Rahul) and specify whether it’s an assignment or a project.
    • Upon selection, users should input the details of the assignment or project, which should be timestamped and stored in corresponding files.
  • Retrieval Functionality:
  • Users should have the ability to retrieve assignments or projects for a specific client.
    • The system should prompt users to select the client and specify whether they want to retrieve assignments or projects.
    • Upon selection, the system should display the stored assignments or projects for the chosen client.
  • User Interaction:
  • The system should provide a user-friendly interface, guiding users through the logging and retrieval processes.
    • Users should be informed of successful logging or retrieval operations.
  • Error Handling:
  • The system should handle invalid inputs gracefully, prompting users to enter valid inputs when necessary.
    • Errors such as selecting an invalid client or input option should be handled appropriately with clear error messages.

Assumptions:

  • Each client has separate files for storing assignments and projects.
  • Timestamps are appended to each entry to maintain a record of when the assignments/projects were logged.
  • The system operates in a command-line interface without graphical user interface (GUI) elements.
  • Input/output operations are conducted through standard input (console) and output (console).
Hi, I’m saksham dixit

Leave a Reply

Your email address will not be published. Required fields are marked *