Conjugate a Latin verb: Difference between revisions

Content added Content deleted
(Made the task less simple and more of a test of the programmer's ability to apply generic concepts.)
Line 4: Line 4:
[[Category:Simple]]
[[Category:Simple]]


;Task: Create a script that can take a Latin verb and conjugate it, displaying in the following order:
;Task: Given the input: <b><i>"amare"</i></b>, output the following, each on its own line:
<pre>
<pre>
1st person singular
amo
2nd person singular
amas
3rd person singular
amat
1st person plural
amamus
2nd person plural
amatis
3rd person plural
amant
</pre>
</pre>

* Each should be on its own line
* Have at lease one example from each of the 4 conjugations.
* Irregular verbs are not required.
* Translation into English is not required.