Skip to content

Instantly share code, notes, and snippets.

@diogoko
Created March 30, 2019 01:27
Show Gist options
  • Save diogoko/6c3d5dd8e3857ec567d81d1ed3de83af to your computer and use it in GitHub Desktop.
Save diogoko/6c3d5dd8e3857ec567d81d1ed3de83af to your computer and use it in GitHub Desktop.
Java Unicode
public class Fibonacci {
public static void main(String[] ₳rgs) {
𝓯𝓲𝓫𝓸𝓷𝓪𝓬𝓬𝓲(5);
}
private static void 𝓯𝓲𝓫𝓸𝓷𝓪𝓬𝓬𝓲(int Ʌ) {
int ϫ = 1;
int ю = ϫ;
for (int ¤ = 0; ¤ < Ʌ; ¤++) {
int ო = ϫ + ю;
ϫ = ю;
ю = ო;
System.out.println(ю);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment