-
Recent Posts
Recent Comments
- Anonymous on Hello world!
Archives
Categories
Meta
Daily Archives: March 29, 2014
Pertemuan 04c
int a=1; int x=0; switch(a) { case 1: { x+=5; break; } case 2: { x+=10; break; } case 3: { x+=16; break; } case 4: { x+=34; break; } } import java.util.Scanner; public class TernOperator{ public static void main(String[] … Continue reading
Posted in Uncategorized
Leave a comment
Pertemuan 04b
Assuming that x is 1, show the result of the following Boolean expressions. (true) && (3 > 4) False karena salah 1 nilai memilih hasil false. !(x> 0) && (x > 0) menghasilkan nilai false karena kedua expression sebelumnya adalah … Continue reading
Posted in Uncategorized
Leave a comment
Pertemuan 04a
Can different types of numeric values be used together in computation? Bisa karena ada tipe data numerik yang digunakan pada saat tertentu seperti perhitungan damage dari sebuah game dan juga double didalam sebuah perhitungan bunga dan saldo bank. Assume that … Continue reading
Posted in Uncategorized
Leave a comment