Department of Computer Science | Institute of Theoretical Computer Science | CADMO

Theory of Combinatorial Algorithms

Prof. Emo Welzl and Prof. Bernd Gärtner

//Challange //Author: Patrick Schwendimann // Program: SchwendimannPatrick.cpp #include #include void draw(int i,double a, int e) { if (i==0) { ifm::forward(); } else { draw(i-1,a,e); ifm::left(a); for (int j=1; j>e; std::cout << "Enter the recursion level: "; std::cin>>i; double a= (e-2.)*180./e; for (int j=0; j