News:

How did you even find this place?

Main Menu

A humorous homework assignment..

Started by Joe, December 02, 2007, 01:17:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Joe

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.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


dark_drake

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.
errr... something like that...

CrAz3D


Joe

Nah, Jack sucks too. They're not together, they're just friends. Jack is a closet gay, duh.
Quote from: Camel on June 09, 2009, 04:12:23 PMI'd personally do as Joe suggests

Quote from: AntiVirus on October 19, 2010, 02:36:52 PM
You might be right about that, Joe.


wires

Quote from: Joe[ix86] 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.
Thought that was Joe.  :-\

Blaze

Quote from: wires on December 02, 2007, 11:19:56 PM
Quote from: Joe[ix86] 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.
Thought that was Joe.  :-\

Holy shit, it's SeRiW!
And like a fool I believed myself, and thought I was somebody else...