0% found this document useful (0 votes)
9 views

Name coding

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Name coding

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

#include <iostream>

using namespace std;

int main() {
// ANSI escape codes for colors
const string BLUE = "\033[34m"; // Blue color for "R"
const string YELLOW = "\033[33m"; // Yellow color for "I"
const string RED = "\033[31m"; // Red color for "A"
const string RESET = "\033[0m"; // Reset color

// Line by line output of "RIA"

cout << " \n";


cout << " \n";
cout << " \n";
cout << " \n";
cout << " \n";
cout << BLUE << " ***** " << YELLOW << " ***** " << RED << " * \
n";
cout << BLUE << " * * " << YELLOW << " * " << RED << " * * \
n";
cout << BLUE << " * * " << YELLOW << " * " << RED << " * * \
n";
cout << BLUE << " ***** " << YELLOW << " * " << RED << " ******* \
n";
cout << BLUE << " * * " << YELLOW << " * " << RED << " * * \
n";
cout << BLUE << " * * " << YELLOW << " * " << RED << " * * \
n";
cout << BLUE << " * * " << YELLOW << " ***** " << RED << " * * \
n";
cout << RESET; // Reset the color

return 0;
}

You might also like