İçeriğe geç
Menüyü aç veya kapat
Ana Sayfa
Biz Kimiz?
Programlarımız
Doğum Günü
Paylaşımlar
İletişim
Ön Kayıt
Java Kod Atölyesi
Java Kod Atölyesi
›
Classes-2
›
scoreBonus
← previous
|
next →
Problem
Return score + 10 if bonus true.
Examples
scoreBonus(80, true) -> 90
Go
Compile and test (Ctrl+Enter)
public int scoreBonus(int score, boolean bonus) { }
↑