\documentclass[a4paper]{article}
\usepackage{verbatim,acmp,epsfig}
\begin{document}
\titel{C}{Cup}{cup}
A two-dimensional rectangular cup full of (two-dimensional) water is
inclined a little bit. Your task is to calculate how much
water pours out.
\begin{center}
\epsfig{file=cup.eps,scale=0.5}
\end{center}
\section*{Input}
Each line of the input file describes one test case. The lines
contain three integers $w$, $h$, and $\alpha$ ($0 < w, h < 1000, 0 \le
\alpha \le 90$): the width and the height of the cup, and the angle by
which the cup is inclined.
The input is terminated by a line containing three zeros. This line
should not be processed.
\section*{Output}
For each test case, output a line containing only one number, the
amount of water poured out. Print the number exact to two digits to
the right of the decimal point.
\section*{Sample Input}
\verbatiminput{cup.in}
\section*{Sample Output}
\verbatiminput{cup.out}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End: