C++ Saved Program: ferrous-af

facebook share

Here's the online compiler accompanied with IDE at your service. This is a saved code by one of our users. Try it out or save your own from the IDE page and don't forget to leave a feedback. You can find that at the bottom of the page.


/*------------------------------------------------
// Course: INFO 1112
// Last Name: Lee
// First Name: Jason
// Student ID: 100302404
// File: customizer23_LeeJ.cpp
// Summary: Customize the picture
//
// Reference ( http://www.cplusplcus.com/doc/tutorial/basic_io/ )
--------------------------------------------------*/

#include <iostream>
#include <string>
using namespace std;

int main()
{

	string pupil = "__";
	string nostril = "o";
	string comment = "so code\n";
	string a = "                / \\                      / \\     \n";
	string b = "               / ^ \\   , *   *   *  ,   / ^ \\    \n";
	string c = "              /      '                 '     \\    \n";
	string d = "      wow    *                                *    \n";
	string e = "            *                                  *   \n";
	string f = "           *       __         __                *  \n";
	string g = "          *       (";
	string g1 = ")       (";
	string g2 =")                *       \n";
	string h = "          *                                      *    much doge\n";
	string i = "          *         _____                        * \n";
	string j = "          *        \\ ";
	string j1=" /                        *       \n";
	string k = "          *    =====  |  =====                   * \n";
	string l = "           *     \\___/ \\___/                    *\n";
	string m = "            *                                  *   \n";
	string n = "             *                                *    \n";
	string o = "               *                            *      \n";
	string p = "                  *                      *         \n";
	string q = "                      *     *  *    *              \n";
	string r = "                        ";


	string doge1 = a + b + c + d + e + f + g + pupil + g1 + pupil + g2 + h + i + j + nostril + nostril + j1 + k + l + m + n + o + p + q + r + comment;
	cout << doge1 << endl;

	string pupila = "";
	cout << "Change his eyes! (Input only one eyeball using 2 characters)" << endl;
	getline(cin, pupila);
	string doge2 = a + b + c + d + e + f + g + pupila + g1 + pupila + g2 + h + i + j + nostril + nostril + j1 + k + l + m + n + o + p + q + r + comment;
	cout << doge2 << endl;

	string nostrila = "";
	cout << "Now change his nostrils! (Input only one nostril using 1 character) " << endl;
	getline(cin, nostrila);
	string doge3 = a + b + c + d + e + f + g + pupila + g1 + pupila + g2 + h + i + j + nostrila + nostrila + j1 + k + l + m + n + o + p + q + r + comment;
	cout << doge3 << endl;


	string commenta = "";
	cout << "Now change his comment! (Type whatever you like) " << endl;
	getline(cin, commenta);
	string doge4 = a + b + c + d + e + f + g + pupila + g1 + pupila + g2 + h + i + j + nostrila + nostrila + j1 + k + l + m + n + o + p + q + r + commenta;
	cout << doge4 << "\n" << endl;

	return 0;

}
Execute

Output

Press the execute button or CTRL + enter to run code.

Inputs