Skip to content

Instantly share code, notes, and snippets.

@mukireus
Last active February 12, 2020 21:11
Show Gist options
  • Save mukireus/c0e3536cece5a73d2617b168249b01e6 to your computer and use it in GitHub Desktop.
Save mukireus/c0e3536cece5a73d2617b168249b01e6 to your computer and use it in GitHub Desktop.
int sayi = 10;
String mesaj;
if (sayi == 10) {
mesaj = "Doğru";
} else mesaj = "Yanlış";
print(mesaj);
//__________________________________//
mesaj = (sayi == 10) ? "Doğru" : "Yanlış";
print(mesaj);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment