Write a basic program to calculate the area of a triangle whose base and altitude are given.
Answers
Answered by
3
(1/2) x base x altitude
Koushik16:
please give me full program
Input "Enter breadth" ;b
Input "Enter height" ;h
Area = 1/2*b*h
Print" Area of triangle=" ;Area
End
Answered by
1
CLS
Input "Enter breadth" ;b
Input "Enter height" ;h
Area = 1/2*b*h
Print" Area of triangle=" ;Area
End
Input "Enter breadth" ;b
Input "Enter height" ;h
Area = 1/2*b*h
Print" Area of triangle=" ;Area
End
Similar questions