Skip to content

Mad Libs Game

XiaoMāo edited this page Oct 15, 2026 · 1 revision

Mad-Libs-Game

Type: Bro Code course project Date: Sept 2026 Concepts: char[], fgets, strlen, repeated input patterns, multi-line printf

What it does

Prompts for 3 adjectives, a noun, and a verb, then plugs them into a fixed story template about a trip to the zoo.

What I learned

I reinforced the fgets plus newline-strip pattern until it stopped feeling like something to look up. I also noticed a variable declaration order issue (noun declared before the adjectives that come before it in the input order), which was a readability lesson rather than a bug.

Source

[View the code on GitHub](https://github.com/Xiao-XC/C-Practice-Projects/tree/main/Mad-Libs-Game)

Back to Home

Clone this wiki locally