/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author user
*/
public class Segitiga {
public static void main(String[] args) {
int a = 4;
int t = 2;
double L ;
L = a*t*0.5 ;
System.out.println ("Luas segitiga dengan a = "+a+"& t="+t+" adalah" +L);
}
}
Tidak ada komentar:
Posting Komentar