program to draw Christmas Tree

#include<iostream.h>
#include<conio.h>
#include<dos.h>
void main()
{
    clrscr();
    cout<<"Christmas Tree:\n\n\n\n";
    cout<<"\t\t\t\t\t  /\\\n";
    cout<<"\t\t\t\t\t /\\\n";
    cout<<"\t\t\t\t\t/ \\\n";
    cout<<"\t\t\t\t       /\\\n";
    cout<<"\t\t\t\t      /________\\\n";
    cout<<"\t\t\t\t         |  | \n";
    cout<<"\t\t\t\t         |  | \n";
    cout<<"\t\t\t\t         |  | \n";
    getch();
}

0 comments:

Post a Comment

 
 
 
 


Copyright © 2012 http://codeprecisely.blogspot.com. All rights reserved |Term of Use and Policies|