--- title: "Answer to the Cockroach Story: QBASIC" type: "article" slug: "answer-to-the-cockroach-story-qbasic" url: "http://localhost/article/answer-to-the-cockroach-story-qbasic/" markdown_url: "http://localhost/article/answer-to-the-cockroach-story-qbasic.md" published_at: "2025-02-02T08:02:26+00:00" modified_at: "2025-02-02T08:02:27+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "QBASIC solution to the cockroach story." category: - name: "The Plotter" slug: "the-plotter" taxonomy: "category" url: "http://localhost/category/periodicals/the-plotter/" post_tag: - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" indiv: - name: "Dick Wagner" slug: "dick-wagner" taxonomy: "indiv" url: "http://localhost/indiv/dick-wagner/" publication_r: id: 21216 title: "The Plotter" type: "periodical" url: "http://localhost/periodical/the-plotter/" authors_r: - name: "Dick Wagner" slug: "dick-wagner" taxonomy: "indiv" url: "http://localhost/indiv/dick-wagner/" volume: "12" issue: "5" issues_articles: - id: 50255 title: "The Plotter v12 n5" type: "issue" url: "http://localhost/issue/the-plotter-vol-12-no-05/" pages: "7" pubdate: "May 1994" archive_link: false --- # Answer to the Cockroach Story: QBASIC QBASIC solution to the cockroach story.