Sample Programs in Every LanguagePublished on 01 November 2018 (Updated: 17 November 2018)
Welcome to Sample Programs in Every Language, a collection of code snippets in as many languages as possible. Thanks for taking an interest in our collection which currently contains 140 articles written by 42 authors.
If you’d like to contribute to this growing collection, check out our contributing document for more information. In addition, you can explore our documentation which is organized by project and by language.
Alternatively, you can dive right into the latest articles below:
- Fizz Buzz in Rust on 11 December 2021 by Bodo Schönfeld
- Roman Numeral in C on 27 October 2021 by Shubhra Gupta
- Prime Number in C on 26 October 2021 by Shubhra Gupta
- Capitalize in C on 25 October 2021 by Shubhra Gupta
- Capitalize in Python on 24 October 2021 by Shubhra Gupta
If you don’t find what you’re looking for, check out our list of related open-source projects.
If code isn’t your thing but you’d still like to help, there are plenty of other ways to support the project.