Skip to content

Commit

Permalink
Merge pull request #249 from kursadsaka/patch-4
Browse files Browse the repository at this point in the history
Java Dilinde Tarih Okur Yazar
  • Loading branch information
BilgisayarKavramlari authored Feb 16, 2017
2 parents 385e426 + dc02f4c commit 8348de0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions TarihOkurYazar
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import java.util.Scanner;

public class TarihOkurYazar {

public static void main(String[] args) {
Scanner key = new Scanner(System.in);
System.out.println("sayi olarak bir gün giriniz");
int gün = key.nextInt();
System.out.println("sayi olarak bir ay giriniz");
int ay = key.nextInt();
System.out.println("sayi olarak bir yil giriniz");
int yil = key.nextInt();

System.out.println(gün + "." + ay + "." + yil);
System.out.println(ay + "." + gün + "." + yil);
System.out.println(yil + "." + ay + "." + gün);

}

}

0 comments on commit 8348de0

Please sign in to comment.