Computer Science, asked by pritikushari, 10 months ago

WAP to take the input base and height and find the area of triangle hint: area=1/2×base ×height​

Answers

Answered by Anonymous
2

Explanation:

int b=10;

int h=15;

System. out println("base ="+b) ;

System. out println("height ="+h) ;

int a=(1/2)b*h;

System. out println(" area of triangle="a) ;

plz mark me as brainliest and follow me

Similar questions