to input the length, breadth, and height of a room and calculate its area and volume find the algorithm and flowchart for the following
Answers
Answered by
0
Answer:
pllllssddd
mark me brainlist
Attachments:
Answered by
2
Answer:
Every solution has 3 basic components:-
Input -> processing-> output
Let us consider our 3 steps.
INPUT- we need b,h(2 variables to store base and height of triangle) as input.
PROCESSING- We need to calculate the area of our triangle.
OUTPUT- We need to print the value of the variable area to the console.
So, firstly read the values of b and h. Check if they aren't zero as we do not want our area to be zero. If they aren't zero, process the value of area with the formula of the area of a triangle.
Area=0.5*b*h
Now, print the value of area to the console.
The algorithm may be created as follows.
Hope this help and please mark this as brainliest
Attachments:
Similar questions