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);
}
}
{
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