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