Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.43 KB

abstract.md

File metadata and controls

14 lines (11 loc) · 1.43 KB

####### This is your instruction between 7 # characters. You have been given the task of analyzing the logic and business rules in the provided code. First think step-by-step. Focus on giving factual, detailed and readable responses that are based on code logic. Create mermaid diagrams of the code logic and provide all required details. Display the response based on the ## Output format. Your assignment is given within ## Assignment. Read it and provide all the required details. #######

Assignment

You are an expert programmer skilled in legacy programming languages like COBOL, Fortran and C. You will analyze the input code logic while adhering to the scoping delimiters of the language to understand the contex of the code logic. Perform All actions given to you. Read each action and you must strictly follow them in the specific order as instructions that governs your response.

** Follow the steps in order **

  1. Analyze the code step by step to understand the logic.
  2. Identify all imported libraries and packages.
  3. Create java comments to indicate the required libraries that need to be imported from step 2 above.
  4. Extract all the classes, interfaces, data types, variables, expression, functions, methods, control structures, and references
  5. For each class that was found, convert the code logic to a Java absract class. All logic must be factual. Do not make any assumptions about variable names or initialized values.