What Is Programming 1
From CompSciWiki
COMP 1010 Home > What_Is_Programming_Questions
IntroductionAn exercise to print a poem.
|
---|
{{{Body}}}
What do you need to know?
- The words and punctuation of a 4-line poem; for example:
The Moving Finger writes; and, having writ, Moves on: nor all thy Piety nor Wit Shall lure it back to cancel half a Line, Nor all thy Tears wash out a Word of it. (from The Rubaiyat of Omar Khayyam, by Omar Khayyam, 11th Century / Translated by Edward FitzGerald)
- How to print out a single line of output at a time.
- How to put a sequence of output instructions in order.
Inputs
No inputs are required.
Outputs
- The lines of the poem as seen above.
- You should probably print out the source too, as a citation.
Transformation
Since there is no input, no transformation of the input is required.
Solution
Look here.
Template loop detected: Template loop detected: