C Program to wish happy new year
C Program to wish happy new year #include<stdio.h> #include<conio.h> #include<graphics.h> void shoot(); void shootagain(); void area(); void explode(int,int,int); void main() { int gm,gd=DETECT; initgraph(&gd,&gm,”C:\\TURBOC3\\BGI”); shoot(); getch(); closegraph(); } void shoot() { int i=0; int x=0,y=480,x1=15,y1=460; while(i<350) { area(); line(x+i,y-i,x1+i,y1-i); delay(50); i=i+10; cleardevice(); } explode(x+350,y-350,5); shootagain(); } void shootagain() { int i=0; int x=600,y=480,x1=585,y1=460; while(i<250) { … Read more