Draw an algorithm and a flowchart to calculate the area of a triangle with base b and height h
Answers
Answered by
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
Physics,
3 months ago
Environmental Sciences,
7 months ago
Math,
7 months ago
Chemistry,
11 months ago
Chemistry,
11 months ago