/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package latihan.pkgif.b;
/**
*
* @author Administrator
*/
public class LatihanIFB {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int suhu = 25;
if (suhu < 20)
System.out.println("Suhu dingin.");
else if (suhu < 30 )
System.out.println("Nyaman.");
else
System.out.println("Panas."); }
}
Tidak ada komentar:
Posting Komentar