Professional Documents
Culture Documents
C Project Periodic Table
C Project Periodic Table
{
setcolor(j);
circle(i,460,j+15);
circle(i,460,j+1);
circle(i,20,j+15);
circle(i,20,j+1);
delay(10);
}
}
cleardevice();
for(i=0;i<=1100;i++)
{
settextstyle(3,1,1);
putpixel(rand()%720,rand()%500,rand());
delay(5);
}
for(i=0;i<=40;i++)
{
setcolor(i);
circle(65,40,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(65,140,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(65,240,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(65,340,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(65,440,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(165,440,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(265,440,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(365,440,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(465,440,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(565,440,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(565,340,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(565,240,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(565,140,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(565,40,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(465,40,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(365,40,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(265,40,i);
delay(10);
}
for( i=0;i<=40;i++)
{
setcolor(i);
circle(165,40,i);
delay(10);
}
settextstyle(1,0,3);
setcolor(11);
outtextxy(260,100,"MADE BY :-");
setcolor(14);
outtextxy(250,130,"********************");
settextstyle(7,0,4);
setcolor(10);
outtextxy(100,160,"*** NISHANK ***");
delay(7000);
cleardevice();
line(0,30,30,30);
line(30,30,30,275);
line(0,135,625,135);
line(65,65,65,275);
line(100,135,100,275);
line(135,135,135,275);
line(170,135,170,275);
line(205,135,205,275);
line(240,135,240,275);
line(275,135,275,275);
line(310,135,310,275);
line(345,135,345,275);
line(380,135,380,275);
line(415,65,415,275);
line(450,65,450,275);
line(485,65,485,275);
line(520,65,520,275);
line(555,65,555,275);
line(590,30,590,275);
line(625,30,625,275);
line(0,30,0,275);
line(0,170,625,170);
line(0,205,625,205);
line(0,240,625,240);
line(0,275,625,275);
line(0,65,65,65);
line(0,100,65,100);
line(415,65,625,65);
line(415,100,625,100);
line(590,30,625,30);
line(590,30,625,30);
line(135,420,625,420);
line(135,350,135,420);
line(135,350,625,350);
line(135,385,625,385);
line(170,350,170,420);
line(205,350,205,420);
line(240,350,240,420);
line(275,350,275,420);
line(310,350,310,420);
line(345,350,345,420);
line(380,350,380,420);
line(415,350,415,420);
line(450,350,450,420);
line(485,350,485,420);
line(520,350,520,420);
line(555,350,555,420);
line(590,350,590,420);
line(625,350,625,420);
setcolor(5);
settextstyle(0,0,0);
outtextxy(10,50,"H");
outtextxy(10,85,"Li");
outtextxy(10,120,"Na");
outtextxy(10,155,"k");
outtextxy(10,190,"Rb");
outtextxy(10,225,"Cs");
outtextxy(10,260,"Fr");
outtextxy(40,85,"Be");
outtextxy(40,120,"Mg");
outtextxy(40,155,"Ca");
outtextxy(40,190,"Sr");
outtextxy(40,225,"Ba");
outtextxy(40,260,"Ra");
setcolor(14);
outtextxy(75,155,"Sc");
outtextxy(75,190,"Y");
outtextxy(75,225,"La");
outtextxy(75,260,"Ac");
outtextxy(110,155,"Ti");
outtextxy(110,190,"Zr");
outtextxy(110,225,"Hf");
outtextxy(110,260,"Rf");
outtextxy(145,155,"V");
outtextxy(145,190,"Nb");
outtextxy(145,225,"Ta");
outtextxy(145,260,"Db");
outtextxy(180,155,"Cr");
outtextxy(180,190,"Mo");
outtextxy(180,225,"W");
outtextxy(180,260,"Sg");
outtextxy(215,155,"Mn");
outtextxy(215,190,"Tc");
outtextxy(215,225,"Re");
outtextxy(215,260,"Bh");
outtextxy(250,155,"Fe");
outtextxy(250,190,"Ru");
outtextxy(250,225,"Os");
outtextxy(250,260,"Hs");
outtextxy(285,155,"Co");
outtextxy(285,190,"Rh");
outtextxy(285,225,"Ir");
outtextxy(285,260,"Mt");
outtextxy(320,155,"Ni");
outtextxy(320,190,"Pd");
outtextxy(320,225,"Pt");
outtextxy(315,260,"Uun");
outtextxy(355,155,"Cu");
outtextxy(355,190,"Ag");
outtextxy(355,225,"Au");
outtextxy(350,260,"Uuu");
outtextxy(390,155,"Zn");
outtextxy(390,190,"Cd");
outtextxy(390,225,"Hg");
outtextxy(385,260,"Uub");
setcolor(9);
outtextxy(425,155,"Ga");
outtextxy(425,190,"In");
outtextxy(425,225,"Ti");
outtextxy(420,260,"Uut");
outtextxy(425,120,"Al");
setcolor(6);
outtextxy(425,85,"B");
setcolor(9);
outtextxy(460,85,"C");
setcolor(6);
outtextxy(460,120,"Si");
outtextxy(460,155,"Ge");
setcolor(9);
outtextxy(460,190,"Sn");
outtextxy(460,225,"Pb");
outtextxy(455,260,"Uuq");
outtextxy(495,85,"N");
outtextxy(495,120,"P");
setcolor(6);
outtextxy(495,155,"As");
outtextxy(495,190,"Sb");
setcolor(9);
outtextxy(495,225,"Bi");
outtextxy(490,260,"Uup");
outtextxy(530,85,"O");
outtextxy(530,120,"S");
outtextxy(530,155,"Se");
setcolor(6);
outtextxy(530,190,"Te");
outtextxy(530,225,"Po");
setcolor(9);
outtextxy(525,260,"Uuh");
outtextxy(565,85,"F");
outtextxy(565,120,"Cl");
outtextxy(565,155,"Br");
outtextxy(565,190,"I");
setcolor(6);
outtextxy(565,225,"At");
outtextxy(560,260,"Uus");
setcolor(4);
outtextxy(600,50,"He");
outtextxy(600,85,"Ne");
outtextxy(600,120,"Ar");
outtextxy(600,155,"Kr");
outtextxy(600,190,"Xe");
outtextxy(600,225,"Rn");
outtextxy(600,260,"Uuo");
setcolor(12);
settextstyle(0,0,2);
outtextxy(165,15,"PERIODIC TABLE");
outtextxy(163,18,"______________");
settextstyle(0,0,0);
setcolor(8);
outtextxy(145,375,"Ce");
outtextxy(145,410,"Th");
outtextxy(180,375,"Pr");
outtextxy(180,410,"Pa");
outtextxy(215,375,"Nd");
outtextxy(215,410,"U");
outtextxy(250,375,"Pm");
outtextxy(250,410,"Np");
outtextxy(285,375,"Sm");
outtextxy(285,410,"Pu");
outtextxy(320,375,"Eu");
outtextxy(320,410,"Am");
outtextxy(355,375,"Gd");
outtextxy(355,410,"Cm");
outtextxy(390,375,"Tb");
outtextxy(390,410,"Bk");
outtextxy(425,375,"Dy");
outtextxy(425,410,"Cf");
outtextxy(460,375,"Ho");
outtextxy(460,410,"Es");
outtextxy(495,375,"Er");
outtextxy(495,410,"Fm");
outtextxy(530,375,"Tm");
outtextxy(530,410,"Md");
outtextxy(565,375,"Yb");
outtextxy(565,410,"No");
outtextxy(600,375,"Lu");
outtextxy(600,410,"Lr");
setcolor(10);
outtextxy(20,365,"Lanthanides--");
outtextxy(20,400,"Actinides----");
outtextxy(135,330,"|----------------------f-block Elements---------------------|");
outtextxy(65,120,"|-------------d-block Elements-------------|");
outtextxy(412,15,"|-----p-block Elements----|");
outtextxy(0,15,"|--------|");
outtextxy(0,0,"s-blocks Elements");
outtextxy(10,35,"1");
outtextxy(10,70,"3");
outtextxy(10,105,"11");
outtextxy(10,140,"19");
outtextxy(10,175,"37");
outtextxy(10,210,"55");
outtextxy(10,245,"87");
outtextxy(40,70,"4");
outtextxy(40,105,"12");
outtextxy(40,140,"20");
outtextxy(40,175,"38");
outtextxy(40,210,"56");
outtextxy(40,245,"88");
setcolor(6);
outtextxy(75,140,"21");
outtextxy(75,175,"39");
outtextxy(75,210,"57");
outtextxy(75,245,"89");
outtextxy(110,140,"22");
outtextxy(110,175,"40");
outtextxy(110,210,"72");
outtextxy(110,245,"104");
outtextxy(145,140,"23");
outtextxy(145,175,"41");
outtextxy(145,210,"73");
outtextxy(145,245,"105");
outtextxy(180,140,"24");
outtextxy(180,175,"42");
outtextxy(180,210,"74");
outtextxy(180,245,"106");
outtextxy(215,140,"25");
outtextxy(215,175,"43");
outtextxy(215,210,"75");
outtextxy(215,245,"107");
outtextxy(250,140,"26");
outtextxy(250,175,"44");
outtextxy(250,210,"76");
outtextxy(250,245,"108");
outtextxy(285,140,"27");
outtextxy(285,175,"45");
outtextxy(285,210,"77");
outtextxy(285,245,"109");
outtextxy(320,140,"28");
outtextxy(320,175,"46");
outtextxy(320,210,"78");
outtextxy(315,245,"110");
outtextxy(355,140,"29");
outtextxy(355,175,"47");
outtextxy(355,210,"79");
outtextxy(350,245,"111");
outtextxy(390,140,"30");
outtextxy(390,175,"46");
outtextxy(390,210,"80");
outtextxy(385,245,"112");
setcolor(7);
outtextxy(425,140,"31");
outtextxy(425,175,"49");
outtextxy(425,210,"81");
outtextxy(420,245,"113");
outtextxy(425,105,"13");
setcolor(6);
outtextxy(425,70,"5");
setcolor(5);
outtextxy(460,70,"6");
setcolor(9);
outtextxy(460,105,"14");
outtextxy(460,140,"32");
setcolor(4);
outtextxy(460,175,"50");
outtextxy(460,210,"82");
outtextxy(455,245,"114");
outtextxy(495,70,"7");
outtextxy(495,105,"15");
setcolor(5);
outtextxy(495,140,"33");
outtextxy(495,175,"51");
setcolor(7);
outtextxy(495,210,"83");
outtextxy(490,245,"115");
outtextxy(530,70,"8");
outtextxy(530,105,"16");
outtextxy(530,140,"34");
setcolor(2);
outtextxy(530,175,"52");
outtextxy(530,210,"84");
setcolor(1);
outtextxy(525,245,"116");
outtextxy(565,70,"9");
outtextxy(565,105,"17");
outtextxy(565,140,"35");
outtextxy(565,175,"53");
setcolor(9);
outtextxy(565,210,"85");
outtextxy(560,245,"117");
setcolor(6);
outtextxy(600,35,"2");
outtextxy(600,70,"10");
outtextxy(600,105,"18");
outtextxy(600,140,"36");
outtextxy(600,175,"54");
outtextxy(600,210,"86");
outtextxy(600,245,"118");
setcolor(7);
outtextxy(145,360,"58");
outtextxy(145,395,"90");
outtextxy(180,360,"59");
outtextxy(180,395,"91");
outtextxy(215,360,"60");
outtextxy(215,395,"92");
outtextxy(250,360,"61");
outtextxy(250,395,"93");
outtextxy(285,360,"62");
outtextxy(285,395,"94");
outtextxy(320,360,"63");
outtextxy(320,395,"95");
outtextxy(355,360,"64");
outtextxy(355,395,"96");
outtextxy(390,360,"65");
outtextxy(390,395,"97");
outtextxy(425,360,"66");
outtextxy(425,395,"98");
outtextxy(460,360,"67");
outtextxy(460,395,"99");
outtextxy(495,360,"68");
outtextxy(495,395,"100");
outtextxy(530,360,"69");
outtextxy(530,395,"101");
outtextxy(565,360,"70");
outtextxy(565,395,"102");
outtextxy(600,360,"71");
outtextxy(600,395,"103");
setcolor(3);
for(i=0;i<=1100;i++)
{
settextstyle(3,1,1);
putpixel(rand()%720,rand()%500,rand());
delay(10);
}
}
void periodic::getdata()
{
cleardevice();
setbkcolor(5);
cout<<"Enter the atomic no.";
cin>>c;
}
void periodic::putdata()
{
setcolor(15);
if(c==1)
cout<<"Hydrogen:-"<<" "
<<" "<<"1.)It is a colourless,odourless and tasteless gas."
<<" "<<"2.)It is the lightest gas known."
<<" "<<"3.)It is only very slightly soluble in water."
<<" "<<"4.)It can be liquefied under high pressure and at low temperature."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"-----*-----*-----*-----";
else
if(c==2)
cout<<"Helium:-"<<" "
<<" "<<"1.)It is a colourless,odourless and tasteless gas."
<<" "<<"2.)It is the lightest gas known."
<<" "<<"3.)It is used for providing an inert atmosphere."
<<" "<<"4.)It is non-inflammable."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==3)
cout<<"Lithium:-"<<" "<<" "<<"1.)Lithium is a silvery white metal."
<<" "<<"2.)It is quite soft."
<<" "<<"3.)Lithium imparts crimson red colour to the flame."
<<" "<<"4.)It is one of the strongest reducing agent."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==4)
cout<<"Beryllium:-"<<" "<<" "<<"1.)Beryllium is very hard in nature."
<<" "<<"2.)It is used as a scavanger in metallurgy."
<<" "<<"3.)It is used in X-Ray window."
<<" "<<"4.)It is used for making electrodes of neon signs."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==5)
cout<<"Boron:-"<<" "<<" "<<"1.)Boron exist in three allotropic forms."
<<" "<<"2.)Boron is a poor conductor of electricity."
<<" "<<"3.)Boron is quite inert towards water."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==6)
cout<<"Carbon:-"<<" "<<" "<<"1.)It is a non-metallic element."
<<" "<<"2.)It occurs both in free as well as combined state."
<<" "<<"3.)Air also contain carbon as carbon-di-oxide."
<<" "<<"4.)In free state it occurs as diamond,coal and graphite."
<<" "<<"5.)Carbon forms hydrites known as hydrocarbon."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==7)
cout<<"Nitrogen:-"<<" "<<" "<<"1.)It is a typical non-metal."
<<" "<<"2.)It exists as diatomic molecule."
<<" "<<"3.)It is highly electronegative element."
<<" "<<"4.)The oxidation state of nitrogen varies from -3 to +5."
<<" "<<"5.)Molecular nitrogen is called dinitrogen."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==8)
cout<<"Oxygen:-"<<" "<<" "<<"1.)It is a non-metal."
<<" "<<"2.)It is paramagnatic in nature."
<<" "<<"3.)It is most abundant element in earth's crust."
<<" "<<"4.)It is di-atomic in nature."
<<" "<<"5.)Molecular oxygen is also called dioxygen."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==9)
cout<<"Fluorine:-"<<" "<<" "<<"1.)It is a non-metallic element."
<<" "<<"2.)It is most electronegative in nature."
<<" "<<"3.)It is used in the preparation of uranium hexafluoride."
<<" "<<"4.)In nature it is not found in free state."
<<" "<<"5.)It is used as plastic teflon."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==10)
cout<<"Neon:-"<<" "<<" "<<"1.)It is a gas."
<<" "<<"2.)It is widely used in sign boards."
<<" "<<"3.)It is used in T.V.,radio,photography and warning signals."
<<" "<<"4.)It produces an orange glow when an electric current is passed."
<<" "<<"5.)Neon lights are used as beacon lights for pilots."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==11)
cout<<"Sodium:-"<<" "<<" "<<"1.)It occurs only in the combined form."
<<" "<<"2.)NaCl,common salt found as rock salt, in sea water."
<<" "<<"3.)Sodium nitrate as chili saltpetre or Caliche in Chile."
<<" "<<"4.)Sodium carbonate is found as an efflorescent substance."
<<" "<<"5.)Sodium is extracted by electrolysis of fused caustic soda."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==12)
cout<<"Magnesium:-"<<" "<<" "<<"1.)It is used in manufacture of alloys."
<<" "<<"2.)It is extracted by reduction of MgO."
<<" "<<"3.)It is used as a reducing agent for boron and silicon."
<<" "<<"4.)It is used as a de-oxidiser in metallurgy."
<<" "<<"5.)It is used as a fuse in alumino-thermite process."
<<" "<<"6.)It is used in flash light photography and in fire-works."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==13)
cout<<"Aluminium:-"<<" "<<" "<<"1.)It is a reactive metal."
<<" "<<"2.)It exists in combined state."
<<" "<<"3.)It is present in earth's crust & its relative abundance is 8.3."
<<" "<<"4.)Aluminium is extracted from its ore bauxite."
<<" "<<"5.)It is not effected by atmosphere & do not decompose water."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==14)
cout<<"Silicon:-"<<" "<<" "<<"1.)Silicon is very abundant element."
<<" "<<"2.)It is present in earth's crust to the extexnt of 28%."
<<" "<<"3.)It is present in the form of silica."
<<" "<<"4.)It is used in semi-conductor."
<<" "<<"5.)It exists in two allotropic forms i.e. amorphous and crystalline."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==15)
cout<<"Phosphorus:-"<<" "<<" "<<"1.)It is a reactive non-metal."
<<" "<<"2.)It is the tenth element in the order of abundance in earth crust."
<<" "<<"3.)It exists in combined form."
<<" "<<"4.)It constitutes our bones,teeth,muscles,brain & nerve tissue."
<<" "<<"5.)In the form of phospholipids it is present in milk,egg,fish,etc."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==16)
cout<<"Sulphur:-"<<" "<<" "<<"1.)It is present in small proportion."
else
if(c==64)
cout<<"Gadolinium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==65)
cout<<"Terbium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==66)
cout<<"Dysprosium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==67)
cout<<"Holmium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==68)
cout<<"Erbium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==69)
cout<<"Thulium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==70)
cout<<"Ytterbium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==71)
cout<<"Lutetium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==72)
cout<<"Hafnium:-"<<" "<<" "<<"1.)It is a silvery white metal."
<<" "<<"2.)It occurs in minerals."
<<" "<<"3.)It exhibits +3 & +4 oxidation states."
else
if(c==73)
cout<<"Tantalum:-"<<" "<<" "<<"1.)It is resistant to corrosion."
<<" "<<"2.)It is used in surgical vessel & as an anlytical weights."
<<" "<<"3.)It's atomic radii is 134pm."
else
if(c==74)
cout<<"Tungsten:-"<<" "<<" "<<"1.)It is hardest metal known."
<<" "<<"2.)It's filament is used in incandescent bulbs."
<<" "<<"3.)It's alloy forms steel for high speed tools."
else
if(c==75)
cout<<"Rhenium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==76)
cout<<"Osmium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==77)
cout<<"Iridium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==78)
cout<<"Platinium:-"<<" "<<" "<<"1.)It is very less reactive metal."
<<" "<<"2.)It shows catalytic properties in contact process."
<<" "<<"3.)It is used in the manufacture of hydrogen electrodes."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==79)
cout<<"Gold:-"<<" "<<" "<<"1.)It is known as coinage metal."
<<" "<<"2.)It is used in jwellery."
<<" "<<"3.)It has high electrical & thermal conductivity."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==80)
cout<<"Mercury:-"<<" "<<" "<<"1.)It is used in thermometers."
<<" "<<"2.)It is useful in making electrical contacts."
<<" "<<"3.)It is used in preparing amalgams of Cu,Ag,etc."
<<" "<<"4.)It is used as electrolyte in various processes."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==81)
cout<<"Thalium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==82)
cout<<"Lead:-"<<" "<<" "<<"1.)It is used for making containers."
<<" "<<"2.)It's atomic radius is 146pm."
<<" "<<"3.)It's electronegativity is 1.9."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==83)
cout<<"Bismuth:-"<<" "<<" "<<"1.)It's density is 9.3g/c.c."
<<" "<<"2.)It's atomic radius is 150pm."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==84)
cout<<"Polonium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==85)
cout<<"Astatine:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c=86)
cout<<"Radon:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==87)
cout<<"Francium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==88)
cout<<"Radium:-"<<" "<<" "<<"1.)It's density is 6g/c.c."
<<" "<<"2.)It's ionic radii is 1.52pm."
<<" "<<"3.)It is a radioactive element."
<<" "<<"4.)It was discovered by Madam Curie."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==89)
cout<<"Actinum:- "<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==90)
cout<<"Thorium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==91)
cout<<"Protactinum:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==92)
cout<<"Uranium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==93)
cout<<"Neptunium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==94)
cout<<"Plutonium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==95)
cout<<"Americium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==96)
cout<<"Curium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c==97)
cout<<"Berkelium:-"<<" "<<" "
<<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
<<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
else
if(c=98)
cout<<"Californium:-"<<" "<<" "
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
SO FAR."
"<<"_____*_____*_____*_____";
periodic p;
p.showtable();
p.getdata();
p.putdata();
p.endscreen();
getch();
}