Recent Changes - Search:

http://capunz.ch/viewtopic.php?m=76&tp=84131&l=996 Whas 84 http://chindershop.ch/viewtopic.php?m=61&tp=92206&l=199 Philadelphia Cruise Line http://christophsprenger.com/viewtopic.php?m=81&tp=45351&l=271 Data Management Road Map Editing http://careerprocess.info/viewtopic.php?m=76&tp=84905&l=676 S Mckeith http://capunz.ch/viewtopic.php?m=17&tp=92790&l=881 Woodbridge Meet And Greet New Jersey http://chance.ch/viewtopic.php?m=75&tp=58199&l=359 Nick Jr Activities http://capunz.ch/viewtopic.php?m=48&tp=93141&l=910 Wording On Bon Voage http://careerprocess.info/viewtopic.php?m=24&tp=84300&l=205 Russia Dating Bride http://chasa-capol.ch/viewtopic.php?m=26&tp=48571&l=975 Lieutenant Governer Of Kansas http://capunz.ch/viewtopic.php?m=97&tp=85788&l=858 What Movies Are At The Theater http://chasa-capol.ch/viewtopic.php?m=75&tp=45981&l=596 Learning Resources And South Africa http://capunz.ch/viewtopic.php?m=88&tp=93305&l=780 Workers Compensations Board Of Bc http://capunz.ch/viewtopic.php?m=5&tp=83096&l=787 Welsh Puppies Pa http://christophsprenger.com/viewtopic.php?m=60&tp=35534&l=235 Content Production Issue Retired Xml Onpoint http://centroesposizioni.ch/viewtopic.php?m=22&tp=84261&l=756 Ul96a http://chasa-capol.ch/viewtopic.php?m=40&tp=56364&l=342 Ma Blouse Nylon http://centroesposizioni.ch/viewtopic.php?m=74&tp=79769&l=309 Trap Rock New Jersey http://clown.ch/viewtopic.php?m=34&tp=21267&l=427 25 Ways Grown Up http://chindershop.ch/viewtopic.php?m=8&tp=90661&l=115 Perl Drums Set http://chance.ch/viewtopic.php?m=56&tp=61779&l=757 Nube Nueve

Assignment1Gaby

Sample output:
X-Mas wrecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas 
wrecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks
perplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks perple
x and vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex and 
vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex and vex.X-
Mas wrecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas wr
ecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks p
erplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex
and vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex and ve
x.X-Mas wrecks perplex and vex.X-Mas wrecks perplex and vex.X-Ma
s wrecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas wrec
ks perplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks per
plex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex a
nd vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex and vex
.X-Mas wrecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas
wrecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks
perplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks perple
x and vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex and 
vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex and vex.X-
Mas wrecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas wr
ecks perplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks p
erplex and vex.X-Mas wrecks perplex and vex.X-Mas wrecks perplex
and vex.X-Mas wrecks perplex and vex.



X X X

Source code:

<?php

// $argc is the arguments

if ($argc < 3 ) exit ("\n\nHi.\nYou have to read this as loud and as fast as you can...\n\n
Type a letter and a number to get started.\n\n"
);

$letter = $argv[1];
$number = $argv[2];


$twisters = array(
        'a' => "Aly ate an apple after Adam ate an Ape.",
        'b' => "Bob boxed big blue berries on new bleached beach blankets!",
        'c' => "Can you can a can as a canner can can a can? ",
        'd' => "Dufey Donald Disses Daring Dolly Day by Day.",
        'e' => "East Fife Four, Forfar Five.",
        'f' => "Freaky Frank's friend Francis eats three foot fruit while Freaky Frank's friend Franchesca prefers frozen french fried frogs.",
        'g' => "Greg glouged down his greasie grease.",
        'h' => "Harry Hare held Hatty Hares Hat.",
        'i' => "I see Isis's icy eyes.",
        'j' => "Jack the jailbird jacked a jeep.",
        'k' => "Kinky kite kits.",
        'l' => "Linda-Lou Lambert Loves Lemon Lollipop Lipgloss.",
        'm' => "Mandy Marie Mason Makes Marvelous Minnie - Mouse Muffins.",
        'n' => "No nose knows like a gnome's nose knows.",
        'o' => "Old oily Ollie oils old oily autos.",
        'p' => "Peter Piper picked a peck of pickled peppers,if Peter Piper picked a peck of pickled peppers,where's the peck of pickled peppers Peter Piper picked?",
        'q' => "Quick kiss. Quicker kiss.",
        'r' => "Red riding hood and robin hood ride right through the river.",
        's' => "Sheila's soldier's shoulders smolder.",
        't' => "Two toads, totally tired.",
        'u' => "An undertaker undertook to under take an undertaking. The undertaking that the undertaker undertook was the hardest undertaking the undertaker ever undertook to undertake.",
        'v' => "Valuble valley villas.",
        'w' => "If two witches were watching two watches,which witch would watch which watch?",
        'x' => "X-Mas wrecks perplex and vex.",
        'y' => "Yanking yellow yo-yos.",
        'z' => "Zizzi's zippy zipper zips.",
);

$closers = array(
        'a' => "\n\nGoing Ape??\n",
        'b' => "\n\nBoo Hoo!!\n",
        'c' => "\n\nCan you??\n",
        'd' => "\n\nDoori do!\n",
        'e' => "\n\nEeee ha!\n",
        'f' => "\n\nFreeeeeeeeeaky!!\n",
        'g' => "\n\nGulp!!\n",
        'h' => "\n\nHooorrayyyy!!!\n",
        'i' => "\n\nI i i ici i.\n",
        'j' => "\n\nJack jack jackity jac!\n",
        'k' => "\n\nKity kit ki ki.\n",
        'l' => "\n\nLooli poo!! \n",
        'm' => "\n\nMighty M's!\n",
        'n' => "\n\nNo one knows!\n",
        'o' => "\n\nOh, oh, oh!\n",
        'p' => "\n\nPeter how many did you pick?\n",
        'q' => "\n\nQuicki quick!\n",
        'r' => "\n\nRrrride!\n",
        's' => "\n\n????\n",
        't' => "\n\nTried try tries.\n",
        'u' => "\n\nUnderstood??\n",
        'v' => "\n\nValued v's.\n",
        'w' => "\n\nWhy do witches have a watch?\n",
        'x' => "\n\nX X X\n",
        'y' => "\n\nYo!\n",
        'z' => "\n\nZippity zip zip zip zap!\n",
);



       



$count = 0;
do {
        echo("$twisters[$letter]");
        $count = $count + 1;
} while ($count < $number);
echo("\n\n$closers[$letter]\n\n");


?>

Edit - History - Print - Recent Changes - Search
Page last modified on February 12, 2006, at 04:41 PM