WAP to take the input base and height and find the area of triangle hint: area=1/2×base ×height
Answers
Answered by
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
Social Sciences,
5 months ago
Math,
5 months ago
English,
5 months ago
English,
10 months ago
Biology,
10 months ago
Social Sciences,
1 year ago
Physics,
1 year ago
Math,
1 year ago