function Logic (:?)

oleh:
arif zainurrohman
 
public Terbesar () {
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
int a = 10 , b = 23 , c = 5;
int max;
System.out.println("number 1 = " + a);
System.out.println("number 2 = " + b);
System.out.println("number 3 = " + c);
max =(b>=a)? b: a;
max =(c>=max)? c: max;
System.out.println("Nilai tertingginya adalah angka = " + max);
}
}
  
Ibu kota , 5 muharram 1435 H

0 komentar:

Posting Komentar