In algorithmic, I would like to write a loop that will look like the following:
repeat $n$ times:
[command]
end
I found this question, explaining how to do this in algorithms2e, but it does not work with algorithmic.
EDIT: This is what I do now:
\documentclass{article}
\usepackage{algorithm}
\usepackage{algorithmic}
\begin{document}
\begin{algorithmic}[1]
\WHILE{Repeated at most $T$ times}
\STATE Do Stuff
\ENDWHILE
\end{algorithmic}
\end{document}

