This repository contains programs to execute Collatz Conjecture in several languages & environments.
All separate language files run separately (Ofcourse).
All programs assume that the conjecture is true and hence rely their recursion on it. Recursion can fall in infinity if this conjecture is wrong at some number.
g++ -std=c++11 -o index.exe index.cpp && .\index
scriptcs index.cs
go run index.go
java index.java
node index.js
python3 index.py
ruby index.rb
cargo run index.rs
Add your own programs to this repository in other languages, with the same structure as this one. Create a new branch for your language, or complete the existing incomplete language files.