C++ - Programming Language
This course covers the basics of programming in C++. Work your way through the videos and we'll teach you everything you need to know to start your programming journey!

Building A Mad Libs Game

Lesson 12
Author : Mike Dane
Last Updated : November, 2017


Code

Copystring color, pluralNoun, celebrity;

cout << "Enter color: ";
cin >> color;

cout << "Enter plural noun: ";
cin >> pluralNoun;

cout << "Enter celebrity: ";
cin >> celebrity;


cout << "Roses are " << color << endl;
cout << pluralNoun << " are blue" << endl;
cout << "I love " << celebrity << endl;