Laundry Algorithm

Discuss anything that doesn't fit other categories here.
Post Reply
User avatar
dontstephere
OP
Offline
Posts: 85
Joined: October 10th, 2011, 11:28 pm

Laundry Algorithm

Post by dontstephere »

You must create an algorithm and a flowchart for doing laundry.

The following items will be available:

A pile (multiple loads) of dirty laundry
Detergent
Bleach
Fabric softener
One washing machine
One dryer

The following rules must be followed:

The algorithm will start with a multi-load pile of dirty laundry
Whites must be washed separately from colors
Colors must be washed with one cup of detergent
Whites must be washed with one cup of detergent and one cup of bleach
The washer can only hold one load of laundry at a time
The dryer can only hold one load of laundry at a time
Colors must be dried with one fabric softener
Laundry must be folded after it is dry
The algorithm will end when the last load is folded

User avatar
Desosus
SupOP
Offline
Posts: 325
Joined: May 28th, 2011, 12:16 am

Re: Laundry Algorithm

Post by Desosus »

Are we doing your computer science homework for you?
_Snivy_: is desosus a bot?

User avatar
dontstephere
OP
Offline
Posts: 85
Joined: October 10th, 2011, 11:28 pm

Re: Laundry Algorithm

Post by dontstephere »

Desosus wrote:Are we doing your computer science homework for you?
Nope. Programming. I was asked to make an algorithm and a flowchart for it, and i already handed in the assignment. I dont think i did it right though so i wanted to see what some1 else would do.

User avatar
Ollieboy
Trustee
Offline
Posts: 2343
Joined: May 23rd, 2011, 3:13 am
Location: Australia

Re: Laundry Algorithm

Post by Ollieboy »

Well then show us how you did it instead of trying to get us to answer your programming (Still computer science) homework.
<TKB> Hit_Girl: zombies don't hurt
<TKB> Hit_Girl: weird.
<TKB> Hit_Girl was slain by Zombie

User avatar
Xesdra
Offline
Posts: 237
Joined: May 24th, 2011, 6:31 am
Location: Australia

Re: Laundry Algorithm

Post by Xesdra »

Image
1. Give to Mum.





Show
This post makes my post count increase by one!

User avatar
dontstephere
OP
Offline
Posts: 85
Joined: October 10th, 2011, 11:28 pm

Re: Laundry Algorithm

Post by dontstephere »

Image

User avatar
dontstephere
OP
Offline
Posts: 85
Joined: October 10th, 2011, 11:28 pm

Re: Laundry Algorithm

Post by dontstephere »

(i got an 80 since i was one of the 3 people who actually did the assignment)

User avatar
xN8Gx
Offline
Posts: 329
Joined: August 9th, 2011, 6:43 am
Location: Where the sex happens.

Re: Laundry Algorithm

Post by xN8Gx »

I don't fold my clothes when I finish a load...

of laundry...
[12:43] <FCB1> +Pemalite: N8G. You are the sexiest chick ever.
[12:44] <FCB1> +Pemalite: N8G. You so sexy. I wanna touch and stroke your luscious beautifull hair like it was my own and hear you purr.

User avatar
JustOnePanda
OP
Offline
Posts: 290
Joined: August 9th, 2011, 12:26 am
Location: The Cheesy State

Re: Laundry Algorithm

Post by JustOnePanda »

I usually take my clothes out of the dryer and wait for them to fold themselves.
"a person's dream are meant to be fulfilled not crushed and these words I am typing from the 3DS are from my heart"
-SSJGoten22

User avatar
Bloody_Llama
Trustee
Offline
Posts: 324
Joined: May 26th, 2011, 6:35 pm

Re: Laundry Algorithm

Post by Bloody_Llama »

Interestingly the flow chart does not account for actually washing or drying the clothes. You'd end up with folded dirty clothes covered in detergent and bleach.

Also, if you can't write an algorithm to do that, I'd suggest doing some studying.
<FCB2> trevbev94: who made the perimid out of saind cause that is ausom
<FCB2> Pemalite+: druffin. 'cmere big boy for some lovin'

User avatar
Fehzor
Trustee
Offline
Posts: 533
Joined: May 24th, 2011, 12:03 am
Location: Battery City
Contact:

Re: Laundry Algorithm

Post by Fehzor »

Bloody_Llama wrote:Interestingly the flow chart does not account for actually washing or drying the clothes. You'd end up with folded dirty clothes covered in detergent and bleach.
I knew something was up with the way they were coming out....

Also, I'd try yahoo answers next time. It goes something like this-
Ask question> random expert obsessed with yahoo answers points finds your post > DONE

User avatar
Xesdra
Offline
Posts: 237
Joined: May 24th, 2011, 6:31 am
Location: Australia

Re: Laundry Algorithm

Post by Xesdra »

Bloody_Llama wrote:Interestingly the flow chart does not account for actually washing or drying the clothes. You'd end up with folded dirty clothes covered in detergent and bleach.
and fabric softener.
This post makes my post count increase by one!

tomsplz3
SupOP
Offline
Posts: 183
Joined: May 24th, 2011, 3:42 am

Re: Laundry Algorithm

Post by tomsplz3 »

lol theres also one that says colors and whites go in same load

User avatar
cdferg
Trustee
Offline
Posts: 484
Joined: May 24th, 2011, 2:11 am

Re: Laundry Algorithm

Post by cdferg »

I separate not only whites and colors, but also reds from the colors. And what about towels?
doberman411: I now know that I feel a bit of relief every time the landing gear of my plane lifts off of the runway knowing that I'm one step closer to freedom.

User avatar
Sanjar Khan
Trustee
Offline
Posts: 1766
Joined: May 24th, 2011, 1:40 pm
Location: Leiden, Zuid Holland

Re: Laundry Algorithm

Post by Sanjar Khan »

Silly waldo.

Also what about hand and machine wash?
Ferrisbuler2: i will stay but i might not post cus of ollieboy

User avatar
Kevinsweijen
SupOP
Offline
Posts: 365
Joined: November 4th, 2011, 6:08 pm
Location: Amsterdam, The Netherlands

Re: Laundry Algorithm

Post by Kevinsweijen »

And fursuits? (PyroPyro and Kirshi approve of this post.)
3 stages of sex life in a person's lifetime: Tri-weekly, try weekly, try weakly

<PyroPyro> afk touching my self while looking at the monies

User avatar
KingCrab
Offline
Posts: 1058
Joined: May 24th, 2011, 4:42 pm

Re: Laundry Algorithm

Post by KingCrab »

Kevinsweijen wrote:And fursuits? (PyroPyro and Kirshi approve of this post.)
Most aren't machine washable considering the resin they are made of XD
<+FCB1> 05+Pemalite: all the fcraft chicks reject me except element

13:04 + FCB2 │ +Pemalite: craaaaab
13:04 + FCB1 │ +Pemalite: no
13:04 + FCB1 │ +Pemalite: ill give yout the best loving ou ever ad crab

User avatar
Fehzor
Trustee
Offline
Posts: 533
Joined: May 24th, 2011, 12:03 am
Location: Battery City
Contact:

Re: Laundry Algorithm

Post by Fehzor »

Kevinsweijen wrote:And fursuits? (PyroPyro and Kirshi approve of this post.)
Fursuits are like fine wine, they get better with time. No washing involved.

User avatar
Moose
Offline
Posts: 14
Joined: January 18th, 2012, 6:16 am

Re: Laundry Algorithm

Post by Moose »

I propose a simple, easy Algorithm anyone could understand and pick up easily.

Image

Problem solved.

Post Reply