write a program to find the area triangle . make use of variable for storing basis
Answers
Answered by
1
Answer:
Logic to find area of a triangle
Input base of the triangle. Store in some variable say base .
Input height of the triangle. Store in some variable say height .
Use triangle area formula to calculate area i.e. area = (base * height) / 2 .
Print the resultant value of area .
Explanation:
Mark as Brainliest And follow
Similar questions