
\documentclass{article}

\begin{document}
\newcount\xx
\newcount\yy
\newcount\zz

\typeout{Das folgende Programm multipliziert zwei Zahlen.}
\typein[\x]{Bitte erste Zahl eingeben.}
\xx=\x

\typein[\y]{Bitte zweite Zahl eingeben.}
\yy=\y

\zz=\xx
\multiply \zz by \yy

\typeout{Ergebnis:}
\typeout{\the\xx*\the\yy=\the\zz}

\end{document}
