Professional Documents
Culture Documents
Act 5
Act 5
Activity 5
PSEUDOCODE:
Decoration welcome_decorator(welcome):
Display "Welcome, You may now convert your unit using this program!"
return wrapper
Call welcome_decorator
Module feet_to_inches():
return inches
Call welcome_decorator
Module inches_to_feet():
return feet
Module main():
while True:
"3. Quit”
Display “Enter your choice of action: ”
Display “Thank you. Please keep using this unit conversion program. Goodbye!"
break (end)
Set else:
main()
FLOWCHART:
True
False
True
False
True
False
PROGRAM: