Jump to content

The Name Game: Difference between revisions

m
No edit summary
Line 713:
{0}!
}
While not empty {
Read ax$
x$=aucase$(left$(x$,1))+lcase$(mid$(x$,2))
b$=if$(x$ ~ "B*"->"", "b")
f$=if$(x$ ~ "F*"->"", "f")
m$=if$(x$ ~ "M*"->"", "m")
y$=if$(x$ ~ "[AEIOU]*"->lcase$(x$),Mid$(x$, 2))
toprint$=format$(song$, ax$, y$, b$, f$, m$)
doc$=toprint$
report toprint$
Line 752:
Felix!
</pre >
 
 
=={{header|Modula-2}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.