Computer Science, asked by kartikbhoriya136, 7 months ago

Draw an algorithm and a flowchart to calculate the area of a triangle with base b and height h

Answers

Answered by AndrewFNAF
3

Answer:

double b, h, area; //declare them

cin >> b >> h; //read them by any command

area = (b * h) / 2; //calculate the area

Explanation:

Similar questions