Total Pageviews

Wednesday, February 29, 2012

JAVA: PROGRAM TO FIND AREA OF TRIANGLE

class Area
{
public static void main(String args[])
 {
int a=20,b=30,c;
c=(a*b)/2;
System.out.println("Area of Triangle is = "+c);
 }
}

No comments:

Post a Comment