Arrays and loops can make our Madlib code more organized. This is part three in a series to create iterative versions of a Madlib in C#. If you haven't read through , start there! Focusing primarily on improving our code, we'll add two arrays and a loop. By using an array we can condense the ...continue reading "Simple C# Madlib (Part Three)"
Tag: madlib
Simple C# Madlib (Part Two)
Iterating our simple C# Madlib code This is part two in a series to create iterative versions of a Madlib in C#. If you haven't read through , start there! Next Iteration A good practice is to keep the amount of code in our Main() function to a minimum. The first step we'll do in ...continue reading "Simple C# Madlib (Part Two)"
Simple C# Madlib (Part One)
Madlibs are fun to build! Building a madlib is a great way to learn fundamental programming concepts. The application will ask a player to enter in words, it will store those words, and then replace words in a quote, story, or other short piece of text that will be written to the console window. The ...continue reading "Simple C# Madlib (Part One)"
PHP Madlib
A simple madlib example. This PHP Madlib example uses a mix of PHP and markup, with a bit of CSS for presentation. PHP Madlib Form There are two pages; one page has a form where a person can enter in words, and the other will display the results. When the submit button (Create story) is ...continue reading "PHP Madlib"