Before creating a new program it is common to write a written description of the purpose of an algorithm. This description outlines the purpose and functionality of the system so that designers and programmers can then move on with the next step of the design process.
On the programming exam you may be given a written description of an algorithm and be tasked with writing program code which satisfies the requirements of the description.
Write a program that asks the user to input the length, width and height of a cuboid. Your program should then calculate the volume and surface area of the cuboid and output the results to the user in an appropriate manner.
Written descriptions have become more important recently with the development of Generative AI chatbots, such as ChatGPT. Programmers can now type in written descriptions of an algorithm ( or components of an algorithm) and the AI will produce executable program that matches the intentions of the description.
Which of the following is NOT a written description?
Why are step-by-step explanations important in algorithms?
What are the steps involved in converting written descriptions to code?