Problem3105--母亲节快乐

3105: 母亲节快乐

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 46  Solved: 4
[Status] [Submit] [Creator:]

Description

#include <bits/stdc++.h>
#include <iostream>
#include <windows.h>
using namespace std; 
//母亲节贺卡代码 
int main() {
int f=0;
    while (1) {
    if(f%2==1)
{
system("color 04");
cout<<endl;
}
    else system("color 0C");
cout<<"          #*#****=         ******+-"<<endl;
        cout<<"       #########***++   #######***+++="<<endl;
        cout<<"     ##########********######******++==-"<<endl;
        cout<<"    ############******######*****++++==-:"<<endl;
        cout<<"    ###########*********#********+++===-:"<<endl;
        cout<<"    #######******************+++++++==--:"<<endl;
        cout<<"    **#**#*****************+*+++++===--::"<<endl;
        cout<<"    **********************++++++=====--:."<<endl;
        cout<<"    +********************++++++====---::."<<endl;
        cout<<"     ++***********++*++++++++=====---::."<<endl;
        cout<<"      +++**+**+***+++++++++=====---:::."<<endl;
        cout<<"       ++++++++++++++++++=====----::.."<<endl;
        cout<<"        =++++++++++++++=====----:::.."<<endl;
        cout<<"          ==++++++++++====----:::.."<<endl;
        cout<<"            ======+++====---:::.."<<endl;
        cout<<"              -========--:::..."<<endl;
        cout<<"                -====--::.."<<endl;
        cout<<"                    ---:."<<endl;
        cout<<"                      ."<<endl;
        if(f%2==0)cout<<endl;
cout<<"祝亲爱的妈妈母亲节快乐!!!";
        Sleep(300);
        system("cls");
        f++;
        
    }
    return 0;
}

Source/Category