HOW TO BUILD A DOOR (A) WELCOME TO YOUR DOOR PRODUCTION COMPANY
(B) repeat Ask the width between 0.4 m to 0.6 m get wid if (wid < 0.4) or (wid > 0.6) display error message until (wid >= 0.4) && (wid <=0.6)
(C). repeat Ask for the length between 3 to 3.2 meters get leng if (leng < 3) or (leng >3.2) error message until (leng>=3)&&(leng<= 3.2)
else continue
(D). repeat Ask for the height between 2 and 2.5 cm get hei if (hei < 2) or (hei > 2.5) error message until(hei<=2)&&(hei>=2.5)
go to line D
ans = leng "x"b wid print(this is your area of door) print(ans)
print(this is your perimeter ans1 = leng "x" 2 + wid "x"2
print(this is your height) print(height)
print(do you want to change the measurement) print( press 1 to change the length) print(press 2 to change the width) print(press 3 to change the height) print(press 4 to change the everything)