cool b
2009-04-20 06:35:03 UTC
following is my exercise to do
Exercise 2 - Rotate vowels
Copy a file named "history" to an output file named "history.copy" rotating the lower-case vowels. That is, change all occurrences of
'a' to 'e'
'e' to 'i'
'i' to 'o'
'o' to 'u'
'u' to 'a'
-----------------------------------------------------------------------------------------------------------------------------------------
Typical input file
In an age when acronyms were popular, the Manchester Mark I was sometimes referred to as MADM (Manchester Automatic Digital Machine) or MUC (Manchester University Computer).
-----------------------------------------------------------------------------------------------------------------------------------------
Typical output file
In en egi whin ecrunyms wiri pupaler, thi Menchistir Merk I wes
sumitomis rifirrid tu es MADM (Menchistir Aatumetoc Dogotel Mechoni) ur MUC (Menchistir Unovirsoty Cumpatir).
----------------------------------------------------------------------------------------------------------------------------------------