Computer Programming
C++ Program
Title: Make a program of tree using words.
#include<stdio.h>
#include<conio.h>
main()
{
clrscr();
textcolor(2);
gotoxy(30,8);cprintf("T R E E");
gotoxy(23,9);cprintf("I think that I shall");
textcolor(4);
gotoxy(41,11);cprintf("never");
textcolor(2);
gotoxy(47,11);cprintf("see");
gotoxy(16,10);cprintf("A poem lovely as a tre");
textcolor(4);
gotoxy(16,35);cprintf("e");
gotoxy(16,37);cprintf(" A tree");
textcolor(2);
gotoxy(16,43);cprintf(" whose");
gotoxy(15,11);cprintf(" hungry mouth is press");
textcolor(4);
gotoxy(15,50);cprintf("ed");
gotoxy(15,57);cprintf(" Aga");
textcolor(2);
gotoxy(15,60);cprintf("inst the");
gotoxy(14,12);cprintf("sweet");
textcolor(6);
gotoxy(14,37);cprintf(" earth's");
textcolor(2);
gotoxy(14,65);cprintf(" flowing breast A tree");
gotoxy(13,13);cprintf("that loo");
textcolor(6);
gotoxy(13,26);cprintf("ks at");
textcolor(2);
gotoxy(13,38);cprintf(" God all day And lifts her");
gotoxy(11,14);cprintf("leafy arm");
textcolor(6);
gotoxy(11,39);cprintf("s to");
textcolor(2);
gotoxy(11,46);cprintf(" pray A t");
textcolor(8);
gotoxy(11,53);cprintf("r");
textcolor(14);
gotoxy(11,59);cprintf("ee t");
textcolor(2);
gotoxy(11,65);cprintf("hat may in");
gotoxy(12,15);cprintf("summer wear A nes");
C++ Program
Title: Make a program of tree using words.
#include<stdio.h>
#include<conio.h>
main()
{
clrscr();
textcolor(2);
gotoxy(30,8);cprintf("T R E E");
gotoxy(23,9);cprintf("I think that I shall");
textcolor(4);
gotoxy(41,11);cprintf("never");
textcolor(2);
gotoxy(47,11);cprintf("see");
gotoxy(16,10);cprintf("A poem lovely as a tre");
textcolor(4);
gotoxy(16,35);cprintf("e");
gotoxy(16,37);cprintf(" A tree");
textcolor(2);
gotoxy(16,43);cprintf(" whose");
gotoxy(15,11);cprintf(" hungry mouth is press");
textcolor(4);
gotoxy(15,50);cprintf("ed");
gotoxy(15,57);cprintf(" Aga");
textcolor(2);
gotoxy(15,60);cprintf("inst the");
gotoxy(14,12);cprintf("sweet");
textcolor(6);
gotoxy(14,37);cprintf(" earth's");
textcolor(2);
gotoxy(14,65);cprintf(" flowing breast A tree");
gotoxy(13,13);cprintf("that loo");
textcolor(6);
gotoxy(13,26);cprintf("ks at");
textcolor(2);
gotoxy(13,38);cprintf(" God all day And lifts her");
gotoxy(11,14);cprintf("leafy arm");
textcolor(6);
gotoxy(11,39);cprintf("s to");
textcolor(2);
gotoxy(11,46);cprintf(" pray A t");
textcolor(8);
gotoxy(11,53);cprintf("r");
textcolor(14);
gotoxy(11,59);cprintf("ee t");
textcolor(2);
gotoxy(11,65);cprintf("hat may in");
gotoxy(12,15);cprintf("summer wear A nes");