06.02 ASCII Art

Да се въведе символ и да се изведе голямо усхинато лице, изрисувано с въведения символ.

Публикувано в 12а с етикети , . Постоянна връзка.

2 коментара по 06.02 ASCII Art

  1. TVD каза:
    #include <conio.h>
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {   cout<<endl<<endl<<endl;
        cout<<endl;
        cout<<endl;
        cout<<endl;
        cout<<endl;
        cout<<endl;
        cout<<endl;
        cout << "*   *  *    ***   *   * ***   *****     *   " << endl;
        cout << "*   *       *  *  *   * *  *  *      *   *  " << endl;
        cout << "*****  *    *   * *   * *   * ***         * " << endl;
        cout << "*   *  *    *  *  *   * *  *  *      *   *  " << endl;
        cout << "*   *  *  , ***    ***  ***   *****     *   " << endl; 
        getche();
        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;
        cout<<endl;
        cout<<endl;
        cout<<endl;
        cout<<endl;
        cout<<endl;
        getche();
        return 0;
    }
    
  2. Kosmos каза:
    #include <cstdlib>
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {   
        char a;
        cout<<"vuvedete  simvol: ";
        cin>>a;
        cout<<a<<a<<a<<a<<a<<a<<"\n";
        cout<<a<<"    "<<a<<"\n";
        cout<<a<<"  "<<a<<"  "<<a<<endl;
        cout<<a<<"    "<<a<<endl;
        cout<<a<<"    "<<a<<endl;
        cout<<a<<a<<a<<a<<a<<a<<"\n";
        
        system("PAUSE");
        return EXIT_SUCCESS;
    }
    
    

Вашият коментар