public class coba {
public static void main(String[]args)
{
int grade = 68;
if( grade > 60 ){
System.out.println(“selamat!");
System.out.println(“kamu lulus!");
}
else{
System.out.println(“maaf, kamu tidak lulus");
}
}
}
Monday, 25 November 2013
Contoh Program IF
Subscribe to:
Post Comments (Atom)
0 Komentar:
Post a Comment