• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
#include <windows.h>#include <stdio.h>int square(int mami); /*function prototype 1 */int factorial(int day1, int month1, int day2, int month2); /*function prototype 2 */int dog(int x, int y); /*function prototype 3 */int main(){int a, b, c, d, e, f, g, h, i, j, k, l, x, z;int year, month,month1,month2;int A, B, C, F, G,log;int day, day1, day2, *FO;char string[] = "LOADING"; /* array */char string2[] = "--ANIS--IQBAL--EPOL--RIZMAN--HAFIZ....";HANDLE hStdout;hStdout = GetStdHandle(STD_OUTPUT_HANDLE);SetConsoleTextAttribute(hStdout, FOREGROUND_RED|FOREGROUND_GREEN|FOREGROUND_INTENSITY); /* red + blue color */for ( x = 1; x <= 74; x++ ){if (x<3){printf(" ");}else{printf("%c",4);_sleep(10);}}printf("\n");for ( x = 1; x <= 74; x++ ){if (x<3){printf(" ");}else {printf("%c",1);_sleep(5);}}do{printf( "\n\nEnter date today:\t[e.g: 29 3 2009]\tPRESS ENTER\n\n"); /* Enterdate today: */scanf( "%d%d%d", &d, &e, &f );} while((d>=32)||(e>=13));do{HANDLE hStdout;hStdout = GetStdHandle(STD_OUTPUT_HANDLE);SetConsoleTextAttribute(hStdout, FOREGROUND_GREEN|FOREGROUND_INTENSITY); /*green color */for (a=11;a<=76;a++){printf("%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c\n",a,a,a,a,a,a,a,a,
 
a,a,a,a,a,a,a,a,a,a);_sleep(10);}for (a=11;a<=14;a++){for (log=0;log<=38;log++){printf("%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c%4c\n",string2[log],string2[log], string2[log], string2[log], string2[log], string2[log],string2[log],string2[log], string2[log], string2[log], string2[log], string2[log],string2[log],string2[log], string2[log], string2[log], string2[log],string2[log]);_sleep(10);}}} while(d==0);f1:do{HANDLE hStdout;hStdout = GetStdHandle(STD_OUTPUT_HANDLE);SetConsoleTextAttribute(hStdout, FOREGROUND_GREEN|FOREGROUND_RED|FOREGROUND_INTENSITY); /* green + red color */printf("\n\n\n\n\n\n\n");for ( x = 1; x <= 74; x++ ){if (x<3){printf(" ");}else{printf("%c",1);_sleep(10);}}printf("\n %c * * *** **** *** **** * * *** ****%c\n",1,1);_sleep(100);printf(" %c * * * * * * * * * * * * * * *%c\n",1,1);_sleep(100);printf(" %c * * * * * * * * * * * * * * *%c\n",1,1);_sleep(100);printf(" %c ***** * * **** * * *** *** * * ****%c\n",1,1);_sleep(100);printf(" %c * * * * * * * * * * * * * *%c\n",1,1);_sleep(100);printf(" %c * * * * * * * * * * * * * *%c\n",1,1);_sleep(100);printf(" %c * * *** * * *** **** * * *** *%c\n",1,1);_sleep(100);for ( x = 1; x <= 74; x++ ){if (x<3){printf(" ");}else {printf("%c",1);_sleep(5);}}} while(d==0);do{HANDLE hStdout;hStdout = GetStdHandle(STD_OUTPUT_HANDLE);SetConsoleTextAttribute(hStdout, FOREGROUND_RED|FOREGROUND_BLUE|FOREGROUND_INTENSITY); /* red + blue color */printf( "\n\n\n\n\n\n\nEnter your birthday date:\t[e.g: 29 3 2009 ]\tPRESS
 
ENTER\n\n"); /* Enter birthday date: */scanf( "%d%d%d", &a, &b, &c );} while((a>=32)||(b>=13));day1=d;day2=a;month1=e;month2=b;printf( "\ncalculating");_sleep(100);printf( ".");_sleep(100);printf( ".");_sleep(100);printf( ".\n");_sleep(100);for (log=0;log<=6;log++)printf("%c\a", string[log]); /* array LOADING */_sleep(1000); /* 1000 = 1 second */printf( ".\a");_sleep(1000);printf( ".\a");_sleep(1000);printf( ".\a");_sleep(1000);printf( ".\a");_sleep(1000);printf( ".\a");_sleep(1000);printf( ".\a");_sleep(900);printf( ".\n\n");printf( "5\a\n");_sleep(800);printf( "4\a\n");_sleep(600);printf( "3\a\n");_sleep(400);printf( "2\a\n");_sleep(200);printf("1\n\a");_sleep(100);printf( "0\a\n\n");do{HANDLE hStdout;hStdout = GetStdHandle(STD_OUTPUT_HANDLE);SetConsoleTextAttribute(hStdout, FOREGROUND_GREEN|FOREGROUND_INTENSITY);/* green color */for ( x = 1; x <= 19000; x++ ) /* function prototype 1 */printf("%d%d%d%d%d%d%d\n ",789*square( x ),691*square( x ),78*square( x ),99*square( x ),65*square( x ),44*square( x ),95*square( x ) );} while(d==0);do{HANDLE hStdout;hStdout = GetStdHandle(STD_OUTPUT_HANDLE);SetConsoleTextAttribute(hStdout, FOREGROUND_RED|FOREGROUND_BLUE|FOREGROUND_INTENSITY); /* red + blue color */printf( "error..!!\n\n\n");year=f-c;printf( "\nyour time in life: %dyear ",year);month=dog(month1,month2); /* function
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...