New: 77 pattern programs with tested code in C, C++, Java and Python Explore patterns

Terms and Conditions

Last updated: 18 November 2026

These terms apply to your use of Pattern Programs (patternprograms.com). By using the site, you agree to them.

Using the code

You are free to use the code examples on this site in your own programs, assignments and projects, including commercial ones. A link back is appreciated but not required.

Using the articles

The written tutorials, diagrams and images are protected by copyright. Please do not republish whole articles, or large parts of them, on another website without written permission. Short quotes with a link to the original page are fine.

Accuracy

Every program is tested before it is published, but mistakes can still happen. The content is provided “as is”, without any warranty. If you find an error, please tell us through the Contact page.

Comments and submissions

You keep the rights to anything you post or submit. By posting a comment or sending a tutorial, you allow us to publish it on this site. Comments must follow our comment policy.

Some pages link to other websites. We are not responsible for their content or their privacy practices.

Limitation of liability

We are not liable for any loss or damage that results from using this site or the code on it. Test code carefully before you use it in production.

Governing law

These terms are governed by the laws of India. Any dispute falls under the jurisdiction of the courts in Bengaluru, Karnataka.

Changes to these terms

We may update these terms from time to time. The date at the top shows when they last changed.