-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSPLASH.CPP
More file actions
26 lines (26 loc) · 785 Bytes
/
SPLASH.CPP
File metadata and controls
26 lines (26 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include<iostream.h>
#include<conio.h>
#include<math.h>
void main()
{
int i,j,k,powr,st;
int logo[3][45]={ { 0, 1,63, 1, 1, 0,63,37,37,37, 0,63,32,32, 0,63,37,37,37, 0,63, 9, 9, 6, 0,63, 4, 4,63, 0,30,33,33,30, 0,63, 4, 8,63, 0,63,37,37,37, 0},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,63,37,37,26, 0,63, 0,63,32,32, 0,63,32,32, 0,63, 0,63, 4, 8,63, 0,30,33,37,61, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 0, 0, 0, 0, 0, 0, 0,34,37,37,25, 0, 3, 4,56, 4, 3, 0,34,37,37,25, 0, 1,63, 1, 1, 0,63,37,37,37, 0,63, 2,12, 2,63, 0, 0, 0, 0, 0, 0, 0}
};
clrscr();
cout<<endl<endl;
for(k=0;k<3;k++)
for(i=0;i<7;i++)
{ for(j=0;j<45;j++)
{ st=logo[k][j];
powr=pow(2,i);
if(((st%(powr*2))/powr)==1)
cout<<"#";
else
cout<<" ";
}
cout<<endl;
}
getch();
}