Subscribe to Code Snippets
//Area of triangle:- class triangle { public static void main(String a[]) { double breath=5.0,height=5.0,area; area=0.5*breath*height; System.out.println("The area of triangle" +area); } }
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend