Clan x86

Member Forums => Joe's Bunker of Pie => Topic started by: Joe on December 02, 2007, 01:17:50 am

Title: A humorous homework assignment..
Post by: Joe on December 02, 2007, 01:17:50 am
So, for programming, we had to make a mad-lib sort of program that would take bunch of parts of speech and then spit them back out in a fashion that'd make you shit yourself with laughter. Here's what I came up with.

(Code attached)

Nursery Rhymes, MadLibs Style!
I'll ask for a part of speech, and you type it and press enter!

Noun:         refrigerator
Noun:         banana
Noun:         Orangutan
Noun:         peanut
Noun:         sandwich
Noun:         vacuum
Plural noun:  iagi
Adjective:    old
Adjective:    smelly
Adjective:    short
Adjective:    funny-looking
Verb (past)   died

Old Mother Hubbard went to the refrigerator to get her old banana a bone.
When she got there, the Orangutan was smelly, and so her short dog had none.

Jack and Jill went up the peanut to fetch a sandwich of water.
Jack fell down and broke his vacuum and Jill came tumbling after.

There was an funny-looking woman who died in a shoe.
She had so many iagi, she didn't know what to do!

Press any key to continue . . .


EDIT -
I attached an ncb instead of a cpp file. Crap. Fixed.
Title: Re: A humorous homework assignment..
Post by: dark_drake on December 02, 2007, 09:03:38 am
I was hoping to be humored, but I left without so much as a cheeky grin to show for the colossal effort of hasty clickery of my mediocre touchpad.
Title: Re: A humorous homework assignment..
Post by: CrAz3D on December 02, 2007, 01:15:26 pm
Shouldn't it be Jill's vacuum?
Title: Re: A humorous homework assignment..
Post by: Joe on December 02, 2007, 01:56:29 pm
Nah, Jack sucks too. They're not together, they're just friends. Jack is a closet gay, duh.
Title: Re: A humorous homework assignment..
Post by: wires on December 02, 2007, 11:19:56 pm
Nah, Jack sucks too. They're not together, they're just friends. Jack is a closet gay, duh.
Thought that was Joe.  :-\
Title: Re: A humorous homework assignment..
Post by: Blaze on December 02, 2007, 11:25:55 pm
Nah, Jack sucks too. They're not together, they're just friends. Jack is a closet gay, duh.
Thought that was Joe.  :-\

Holy shit, it's SeRiW!