Sunday, May 21, 2017

Descending Plane Animation using ASCII Art (Dev C++)

// Program 1 - Descending Plane Animation using ASCII Art

#include <conio.h>
#include <time.h>
#include <windows.h>

int main()
{ for(int i=0; i<20; i++)
  { system("CLS");
    for(int j=0; j<i; j++)
      cout << "\n";
    cout << "                                       __\n";
    cout << "                                      /||\\\n";
    cout << "                                     / || \\\n";
    cout << "                                      |  |\n";
    cout << "                                      |  |\n";
    cout << "                                      |__|\n";
    cout << "                                 .--\"'    \"'--.\n";
    cout << "                               .\"     ____     \".\n";
    cout << "                              /   /  ______  \\   \\\n";
    cout << " \\                           |   /_.'      '._\\   |                           /\n";
    cout << "  '----------......___       |                    |       ___......----------'\n";
    cout << "   '''---...___ B C R S ''''---\        (  )        /---''''Express___...---'''\n";
    cout << "               '''---..___     '.               .'     ___..---'''\n";
    cout << "                      /   \\''---..             ..---''/   \\\n";
    cout << "                     |     |      '--..___..--'      |     |\n";
    cout << "                      \\___/                           \\___/\n";

    Sleep(250);
  }

}

No comments:

Post a Comment