Brushing teeth

START

        Get toothbrush, toothpaste, floss

IF (INPUT time = after 8pm)

                Get mouthwash

ELSE

                Don’t get mouthwash

END IF

Floss teeth

Put toothpaste on toothbrush

WHILE teeth are not clean

                Brush teeth for 30 seconds

                Check cleanliness

END WHILE

IF (INPUT time is after 8pm)

                Gargle Mouthwash for 30 seconds

                Spit out Mouthwash

END IF

Clean toothbrush

Dispose of floss

PRINT (Your teeth are now fully cleaned!)

END