8.10. Check Yourself

#include <CTurtle.hpp>
namespace ct = cturtle;

int main() {
    ct::TurtleScreen scr;
    ct::Turtle turtle(scr);

    for(int i = 0; i < 5; i++){
        turtle.forward(50);
        turtle.right(144);
    }

    scr.bye();
    return 0;
}
You have attempted of activities on this page