Professional Documents
Culture Documents
Pseudo Code
Pseudo Code
START
Display Type of brick: \n, 1.Clay brick \n, 2.Cement brick \n,
Display What you want to calculate: \n, 1.Total external brick used only \n,
2.Total internal brick used only \n, 3.Total external and internal brick used \n
Enter Calc_type .
if (Calc_type = 1)
start_if
External = Tbrick * 2
start_if
start_if
External = Tbrick * 2
Internal = Tbrick
Tprice = Internal * Price_per_brick
end_if
else
start_if
Display Error in entering what to calculate
End_if
if (Brick_type = 1)
start_if
end_if
else if (Brick_type = 2)
start_if
end_if
else if (Brick_type = 3)
start_if
end_if
else
start_if
end_if
END