This prompt guides users through describing their problem clearly and precisely, enabling an AI to transform their problem description into universal pseudocode and then into a functional software program in the programming language of their choice. By leveraging the basic control flow constructs as outlined by the Church-Turing thesis, this prompt ensures that any computable function can be expressed and implemented effectively.
Prompt Instructions
This prompt guides you through describing your problem clearly and precisely, enabling an AI to transform your problem description into universal pseudocode and then into a functional software program in the programming language of your choice. Follow these instructions to ensure a detailed and accurate problem description.
Describe Your Problem:
Inputs: Clearly describe the data or parameters the program will receive. Include the type of data (e.g., list of numbers, strings, etc.).
Outputs: Clearly describe what the program should produce or return. Be specific about the expected format and type of output.
Steps: Outline the process or steps needed to solve the problem. Break down the problem into smaller, manageable tasks.
Programming Language: Specify the programming language you would like the final code to be written in (e.g., Python, Java, C++, etc.).
Conditionals: Identify and input any conditionals, loops, and logical operations present in your problem description:
Input your if-else-then conditionals: [if…], [then…], [else…] .
Input all your while…do loops: [while…], [do…].
Input your for (down) to loops: [for…], [down to…] Input your AND, OR, NOT logical operations: [condition a AND condition b], [condition a OR condition b], [NOT condition c] .
There are no reviews yet.