// Informatik - Serie 11
// Programm: WilleminSimon.cpp
// Draw turtle graphics for the Lindenmayer system
// with a rotation angle of 360°
// Autor: Willemin Simon
#include
#include
void f (const int i) {
if (i <= 0)
ifm::forward();
else
f(i-1);
}
int main () {
std::cout << "Number of iterations =? ";
int n;
std::cin >> n;
f(n);
return 0;
}