Skip to content

Instantly share code, notes, and snippets.

@onursenture
Created January 2, 2011 00:37
Show Gist options
  • Save onursenture/762154 to your computer and use it in GitHub Desktop.
Save onursenture/762154 to your computer and use it in GitHub Desktop.
package yilmazozdil;
import java.util.Calendar;
public class Main {
public static void main(String[] args) {
Calendar cal = Calendar.getInstance();
int year = cal.get(Calendar.YEAR);
System.out.println("1 Ocak 1958, AB kuruldu.\n\n1959, Türkiye başvurdu.");
for (int i = 1960; i < year; i++)
System.out.println(i);
System.out.println("1 Ocak " + year + "...");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment