OHJELMOINTITEKNIIKKA
OHJELMOINTITEKNIIKKA
OHJELMOINTITEKNIIKKA
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Esimerkki (ehto-operaattori)<br />
if (arvosana>0)<br />
System.out.println(“Tentti on hyväksytty”);<br />
else<br />
System.out.println(“Tentti on hylätty”);<br />
System.out.println(“Tentti on “ + (arvosana>0 ? “hyväksytty” : “hylätty”));<br />
50