This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
System.out.print("Yılı Giriniz: " ); | |
int yil=scanner.nextInt(); | |
if(yil%4==0) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
System.out.print("Doğum Yılınızı Giriniz : "); | |
int yil = input.nextInt(); | |
if (yil % 12 == 0 ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
public static void main(String[] args) { | |
Scanner input=new Scanner(System.in); | |
int distance, age,selectType; double normalAmount; | |
System.out.print("Mesafeyi km türünden giriniz : "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
public static void main(String[] args) { | |
Scanner input = new Scanner(System.in); | |
byte month,day; | |
String zodiac = "undefined yet."; | |
System.out.print("Month of birthday: "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
public static void main(String[] args) { | |
int a, b, c; | |
Scanner input = new Scanner(System.in); | |
System.out.println("İlk sayi: "); | |
a = input.nextInt(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
public static void main(String[] args) { | |
Scanner scan = new Scanner(System.in); | |
int sicaklik = scan.nextInt(); | |
if(sicaklik < 5) { | |
System.out.println("Kayak"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
private static int count = 0; | |
public static int dersNotu(String ders){ | |
Scanner scan = new Scanner(System.in); | |
System.out.print(ders.toString() + " Notunuz: "); | |
int not = scan.nextInt(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
public static void main(String[] args) { | |
String password = "123"; | |
String input_password, isWannaChangePassword; | |
Scanner scan = new Scanner(System.in); | |
System.out.print("Parola: "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package hesapMakinesi; | |
import java.util.Scanner; | |
public class Main { | |
public static void main(String[] args) { | |
int a,b,select; | |
Scanner scan=new Scanner(System.in); | |
System.out.print("Input the first number please: "); | |
a=scan.nextInt(); | |
System.out.print("Input the second number please:"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Giris; | |
import java.util.Scanner; | |
public class Baslangic { | |
public static void main(String[] args) { | |
double armut=2.14, | |
elma=3.67, | |
domates=1.11, | |
muz=0.95, | |
patlican=5.0; |