C/ C++ Stats:

How to support the site


Site Wide Message: (current site time 9/6/2010 11:20:06 AM EDT)
  • We want your input! One of our sponsors wants to know your opinion about development related issues. Click here to tell us what you think.
  • Are you an emerging/young developer (aged 18-30)? If so, would you like the chance to affect future developer tools and products?
    If so, then click here to give your feedback.
 

C++ PROJECT-PERIODIC TABLE

Print
Email
article
Submitted on: 5/17/2010 8:46:02 AM
By: Nishank  
Level: Intermediate
User Rating: Unrated
Compatibility:C, Borland C++

Users have accessed this article  10002 times.
 
 
     HELP on C++ project on Periodic table

This article has accompanying files
 
 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
				HI,
i am Nishank and have got a project -to make periodic table by using the following
a. Data Structure
b. Object Oriented Programming in C++
c. Data File Handling
through the program the user should be able to:
a.view the periodic table
b.edit the periodic table
c.delete a record
d.quit
can anyone help me with it
i have made a file and here is the attachment
i am using turbo c++ as the compiler
While compiling it is showing me no error but while running it is showing the following errors:
Linking PERIDIC.EXE:
Linker Error: Undefined symbol _circle in module PERIDIC.CPP
Linker Error: Undefined symbol _setcolor in module PERIDIC.CPP
Linker Error: Undefined symbol _putpixel in module PERIDIC.CPP
Linker Error: Undefined symbol _settextstyle in module PERIDIC.CPP
Linker Error: Undefined symbol _cleardevice in module PERIDIC.CPP
Linker Error: Undefined symbol _outtextxy in module PERIDIC.CPP
Linker Error: Undefined symbol _line in module PERIDIC.CPP
Linker Error: Undefined symbol _setbkcolor in module PERIDIC.CPP
Linker Error: Undefined symbol _initgraph in module PERIDIC.CPP
Linker Error: Undefined symbol _fillellipse in module PERIDIC.CPP
Linker Error: Undefined symbol _setfillstyle in module PERIDIC.CPP
Can anyone help me correct it
please
And can anyone Help me do the Same thing without using
graphics.h and
dos.h
ALSO HERE IS THE CODE:::
C++ Syntax (Toggle Plain Text)
1.
 #include
2.
 #include
3.
 #include
4.
 #include
5.
 #include
6.
 #include
7.
 #include
8.
 #include
9.
 10.
 class periodic
 11.
 {
 12.
 private:
 13.
 int i,j,k,a,c;
 14.
 public:
 15.
 void showtable();
 16.
 void getdata();
 17.
 void putdata();
 18.
 void endscreen();
 19.
 };
 20.
 21.
 void periodic::showtable()
 22.
 {
 23.
 cleardevice();
 24.
 setcolor(5);
 25.
 settextstyle(3,0,7);
 26.
 for(k=1;k<=90;k++)
 27.
 {
 28.
 cleardevice();
 29.
 outtextxy(125,k,"WELCOME TO");
 30.
 delay(60);
 31.
 }
 32.
 settextstyle(3,0,5);
 33.
 outtextxy(80,250,"MODERN PERIODIC-TABLE");
 34.
 setcolor(14);
 35.
 outtextxy(75,300,"*************************");
 36.
 outtextxy(124,150,"********************");
 37.
 delay(50);
 38.
 for(i=6;i<=500;i=i+30)
 39.
 {
 40.
 for(j=0;j<=10;j++)
 41.
 {
 42.
 setcolor (i+j);
 43.
 circle(35,i,j+20);
 44.
 circle(605,i,j+20);
 45.
 delay(35);
 46.
 }
 47.
 }
 48.
 for(i=5;i<=630;i=i+10)
 49.
 {
 50.
 for(j=0;j<=5;j=j+1)
 51.
 {
 52.
 setcolor(j);
 53.
 circle(i,460,j+15);
 54.
 circle(i,460,j+1);
 55.
 circle(i,20,j+15);
 56.
 circle(i,20,j+1);
 57.
 delay(10);
 58.
 }
 59.
 }
 60.
 cleardevice();
 61.
 for(i=0;i<=1100;i++)
 62.
 {
 63.
 settextstyle(3,1,1);
 64.
 putpixel(rand()%720,rand()%500,rand());
 65.
 delay(5);
 66.
 }
 67.
 for(i=0;i<=40;i++)
 68.
 {
 69.
 setcolor(i);
 70.
 circle(65,40,i);
 71.
 delay(10);
 72.
 }
 73.
 for( i=0;i<=40;i++)
 74.
 {
 75.
 setcolor(i);
 76.
 circle(65,140,i);
 77.
 delay(10);
 78.
 }
 79.
 for( i=0;i<=40;i++)
 80.
 {
 81.
 setcolor(i);
 82.
 circle(65,240,i);
 83.
 delay(10);
 84.
 }
 85.
 for( i=0;i<=40;i++)
 86.
 {
 87.
 setcolor(i);
 88.
 circle(65,340,i);
 89.
 delay(10);
 90.
 }
 91.
 for( i=0;i<=40;i++)
 92.
 {
 93.
 setcolor(i);
 94.
 circle(65,440,i);
 95.
 delay(10);
 96.
 }
 97.
 for( i=0;i<=40;i++)
 98.
 {
 99.
 setcolor(i);
 100.
 circle(165,440,i);
 101.
 delay(10);
 102.
 }
 103.
 for( i=0;i<=40;i++)
 104.
 {
 105.
 setcolor(i);
 106.
 circle(265,440,i);
 107.
 delay(10);
 108.
 }
 109.
 for( i=0;i<=40;i++)
 110.
 {
 111.
 setcolor(i);
 112.
 circle(365,440,i);
 113.
 delay(10);
 114.
 }
 115.
 for( i=0;i<=40;i++)
 116.
 {
 117.
 setcolor(i);
 118.
 circle(465,440,i);
 119.
 delay(10);
 120.
 }
 121.
 for( i=0;i<=40;i++)
 122.
 {
 123.
 setcolor(i);
 124.
 circle(565,440,i);
 125.
 delay(10);
 126.
 }
 127.
 for( i=0;i<=40;i++)
 128.
 {
 129.
 setcolor(i);
 130.
 circle(565,340,i);
 131.
 delay(10);
 132.
 }
 133.
 for( i=0;i<=40;i++)
 134.
 {
 135.
 setcolor(i);
 136.
 circle(565,240,i);
 137.
 delay(10);
 138.
 }
 139.
 for( i=0;i<=40;i++)
 140.
 {
 141.
 setcolor(i);
 142.
 circle(565,140,i);
 143.
 delay(10);
 144.
 }
 145.
 for( i=0;i<=40;i++)
 146.
 {
 147.
 setcolor(i);
 148.
 circle(565,40,i);
 149.
 delay(10);
 150.
 }
 151.
 for( i=0;i<=40;i++)
 152.
 {
 153.
 setcolor(i);
 154.
 circle(465,40,i);
 155.
 delay(10);
 156.
 }
 157.
 for( i=0;i<=40;i++)
 158.
 {
 159.
 setcolor(i);
 160.
 circle(365,40,i);
 161.
 delay(10);
 162.
 }
 163.
 for( i=0;i<=40;i++)
 164.
 {
 165.
 setcolor(i);
 166.
 circle(265,40,i);
 167.
 delay(10);
 168.
 }
 169.
 for( i=0;i<=40;i++)
 170.
 {
 171.
 setcolor(i);
 172.
 circle(165,40,i);
 173.
 delay(10);
 174.
 }
 175.
 settextstyle(1,0,3);
 176.
 setcolor(11);
 177.
 outtextxy(260,100,"MADE BY :-");
 178.
 setcolor(14);
 179.
 outtextxy(250,130,"********************");
 180.
 settextstyle(7,0,4);
 181.
 setcolor(10);
 182.
 outtextxy(100,160,"*** NISHANK ***");
 
 delay(7000);
 188.
 cleardevice();
 189.
 line(0,30,30,30);
 190.
 line(30,30,30,275);
 191.
 line(0,135,625,135);
 192.
 line(65,65,65,275);
 193.
 line(100,135,100,275);
 194.
 line(135,135,135,275);
 195.
 line(170,135,170,275);
 196.
 line(205,135,205,275);
 197.
 line(240,135,240,275);
 198.
 line(275,135,275,275);
 199.
 line(310,135,310,275);
 200.
 line(345,135,345,275);
 201.
 line(380,135,380,275);
 202.
 line(415,65,415,275);
 203.
 line(450,65,450,275);
 204.
 line(485,65,485,275);
 205.
 line(520,65,520,275);
 206.
 line(555,65,555,275);
 207.
 line(590,30,590,275);
 208.
 line(625,30,625,275);
 209.
 line(0,30,0,275);
 210.
 line(0,170,625,170);
 211.
 line(0,205,625,205);
 212.
 line(0,240,625,240);
 213.
 line(0,275,625,275);
 214.
 line(0,65,65,65);
 215.
 line(0,100,65,100);
 216.
 line(415,65,625,65);
 217.
 line(415,100,625,100);
 218.
 line(590,30,625,30);
 219.
 line(590,30,625,30);
 220.
 line(135,420,625,420);
 221.
 line(135,350,135,420);
 222.
 line(135,350,625,350);
 223.
 line(135,385,625,385);
 224.
 line(170,350,170,420);
 225.
 line(205,350,205,420);
 226.
 line(240,350,240,420);
 227.
 line(275,350,275,420);
 228.
 line(310,350,310,420);
 229.
 line(345,350,345,420);
 230.
 line(380,350,380,420);
 231.
 line(415,350,415,420);
 232.
 line(450,350,450,420);
 233.
 line(485,350,485,420);
 234.
 line(520,350,520,420);
 235.
 line(555,350,555,420);
 236.
 line(590,350,590,420);
 237.
 line(625,350,625,420);
 238.
 setcolor(5);
 239.
 settextstyle(0,0,0);
 240.
 outtextxy(10,50,"H");
 241.
 outtextxy(10,85,"Li");
 242.
 outtextxy(10,120,"Na");
 243.
 outtextxy(10,155,"k");
 244.
 outtextxy(10,190,"Rb");
 245.
 outtextxy(10,225,"Cs");
 246.
 outtextxy(10,260,"Fr");
 247.
 outtextxy(40,85,"Be");
 248.
 outtextxy(40,120,"Mg");
 249.
 outtextxy(40,155,"Ca");
 250.
 outtextxy(40,190,"Sr");
 251.
 outtextxy(40,225,"Ba");
 252.
 outtextxy(40,260,"Ra");
 253.
 setcolor(14);
 254.
 outtextxy(75,155,"Sc");
 255.
 outtextxy(75,190,"Y");
 256.
 outtextxy(75,225,"La");
 257.
 outtextxy(75,260,"Ac");
 258.
 outtextxy(110,155,"Ti");
 259.
 outtextxy(110,190,"Zr");
 260.
 outtextxy(110,225,"Hf");
 261.
 outtextxy(110,260,"Rf");
 262.
 outtextxy(145,155,"V");
 263.
 outtextxy(145,190,"Nb");
 264.
 outtextxy(145,225,"Ta");
 265.
 outtextxy(145,260,"Db");
 266.
 outtextxy(180,155,"Cr");
 267.
 outtextxy(180,190,"Mo");
 268.
 outtextxy(180,225,"W");
 269.
 outtextxy(180,260,"Sg");
 270.
 outtextxy(215,155,"Mn");
 271.
 outtextxy(215,190,"Tc");
 272.
 outtextxy(215,225,"Re");
 273.
 outtextxy(215,260,"Bh");
 274.
 outtextxy(250,155,"Fe");
 275.
 outtextxy(250,190,"Ru");
 276.
 outtextxy(250,225,"Os");
 277.
 outtextxy(250,260,"Hs");
 278.
 outtextxy(285,155,"Co");
 279.
 outtextxy(285,190,"Rh");
 280.
 outtextxy(285,225,"Ir");
 281.
 outtextxy(285,260,"Mt");
 282.
 outtextxy(320,155,"Ni");
 283.
 outtextxy(320,190,"Pd");
 284.
 outtextxy(320,225,"Pt");
 285.
 outtextxy(315,260,"Uun");
 286.
 outtextxy(355,155,"Cu");
 287.
 outtextxy(355,190,"Ag");
 288.
 outtextxy(355,225,"Au");
 289.
 outtextxy(350,260,"Uuu");
 290.
 outtextxy(390,155,"Zn");
 291.
 outtextxy(390,190,"Cd");
 292.
 outtextxy(390,225,"Hg");
 293.
 outtextxy(385,260,"Uub");
 294.
 setcolor(9);
 295.
 outtextxy(425,155,"Ga");
 296.
 outtextxy(425,190,"In");
 297.
 outtextxy(425,225,"Ti");
 298.
 outtextxy(420,260,"Uut");
 299.
 outtextxy(425,120,"Al");
 300.
 setcolor(6);
 301.
 outtextxy(425,85,"B");
 302.
 setcolor(9);
 303.
 outtextxy(460,85,"C");
 304.
 setcolor(6);
 305.
 outtextxy(460,120,"Si");
 306.
 outtextxy(460,155,"Ge");
 307.
 setcolor(9);
 308.
 outtextxy(460,190,"Sn");
 309.
 outtextxy(460,225,"Pb");
 310.
 outtextxy(455,260,"Uuq");
 311.
 outtextxy(495,85,"N");
 312.
 outtextxy(495,120,"P");
 313.
 setcolor(6);
 314.
 outtextxy(495,155,"As");
 315.
 outtextxy(495,190,"Sb");
 316.
 setcolor(9);
 317.
 outtextxy(495,225,"Bi");
 318.
 outtextxy(490,260,"Uup");
 319.
 outtextxy(530,85,"O");
 320.
 outtextxy(530,120,"S");
 321.
 outtextxy(530,155,"Se");
 322.
 setcolor(6);
 323.
 outtextxy(530,190,"Te");
 324.
 outtextxy(530,225,"Po");
 325.
 setcolor(9);
 326.
 outtextxy(525,260,"Uuh");
 327.
 outtextxy(565,85,"F");
 328.
 outtextxy(565,120,"Cl");
 329.
 outtextxy(565,155,"Br");
 330.
 outtextxy(565,190,"I");
 331.
 setcolor(6);
 332.
 outtextxy(565,225,"At");
 333.
 outtextxy(560,260,"Uus");
 334.
 setcolor(4);
 335.
 outtextxy(600,50,"He");
 336.
 outtextxy(600,85,"Ne");
 337.
 outtextxy(600,120,"Ar");
 338.
 outtextxy(600,155,"Kr");
 339.
 outtextxy(600,190,"Xe");
 340.
 outtextxy(600,225,"Rn");
 341.
 outtextxy(600,260,"Uuo");
 342.
 setcolor(12);
 343.
 settextstyle(0,0,2);
 344.
 outtextxy(165,15,"PERIODIC TABLE");
 345.
 outtextxy(163,18,"______________");
 346.
 settextstyle(0,0,0);
 347.
 setcolor(8);
 348.
 outtextxy(145,375,"Ce");
 349.
 outtextxy(145,410,"Th");
 350.
 outtextxy(180,375,"Pr");
 351.
 outtextxy(180,410,"Pa");
 352.
 outtextxy(215,375,"Nd");
 353.
 outtextxy(215,410,"U");
 354.
 outtextxy(250,375,"Pm");
 355.
 outtextxy(250,410,"Np");
 356.
 outtextxy(285,375,"Sm");
 357.
 outtextxy(285,410,"Pu");
 358.
 outtextxy(320,375,"Eu");
 359.
 outtextxy(320,410,"Am");
 360.
 outtextxy(355,375,"Gd");
 361.
 outtextxy(355,410,"Cm");
 362.
 outtextxy(390,375,"Tb");
 363.
 outtextxy(390,410,"Bk");
 364.
 outtextxy(425,375,"Dy");
 365.
 outtextxy(425,410,"Cf");
 366.
 outtextxy(460,375,"Ho");
 367.
 outtextxy(460,410,"Es");
 368.
 outtextxy(495,375,"Er");
 369.
 outtextxy(495,410,"Fm");
 370.
 outtextxy(530,375,"Tm");
 371.
 outtextxy(530,410,"Md");
 372.
 outtextxy(565,375,"Yb");
 373.
 outtextxy(565,410,"No");
 374.
 outtextxy(600,375,"Lu");
 375.
 outtextxy(600,410,"Lr");
 376.
 setcolor(10);
 377.
 outtextxy(20,365,"Lanthanides--");
 378.
 outtextxy(20,400,"Actinides----");
 379.
 outtextxy(135,330,"|----------------------f-block Elements----------------------|");
 380.
 outtextxy(65,120,"|-------------d-block Elements-------------|");
 381.
 outtextxy(412,15,"|-----p-block Elements----|");
 382.
 outtextxy(0,15,"|--------|");
 383.
 outtextxy(0,0,"s-blocks Elements");
 384.
 outtextxy(10,35,"1");
 385.
 outtextxy(10,70,"3");
 386.
 outtextxy(10,105,"11");
 387.
 outtextxy(10,140,"19");
 388.
 outtextxy(10,175,"37");
 389.
 outtextxy(10,210,"55");
 390.
 outtextxy(10,245,"87");
 391.
 outtextxy(40,70,"4");
 392.
 outtextxy(40,105,"12");
 393.
 outtextxy(40,140,"20");
 394.
 outtextxy(40,175,"38");
 395.
 outtextxy(40,210,"56");
 396.
 outtextxy(40,245,"88");
 397.
 setcolor(6);
 398.
 outtextxy(75,140,"21");
 399.
 outtextxy(75,175,"39");
 400.
 outtextxy(75,210,"57");
 401.
 outtextxy(75,245,"89");
 402.
 outtextxy(110,140,"22");
 403.
 outtextxy(110,175,"40");
 404.
 outtextxy(110,210,"72");
 405.
 outtextxy(110,245,"104");
 406.
 outtextxy(145,140,"23");
 407.
 outtextxy(145,175,"41");
 408.
 outtextxy(145,210,"73");
 409.
 outtextxy(145,245,"105");
 410.
 outtextxy(180,140,"24");
 411.
 outtextxy(180,175,"42");
 412.
 outtextxy(180,210,"74");
 413.
 outtextxy(180,245,"106");
 414.
 outtextxy(215,140,"25");
 415.
 outtextxy(215,175,"43");
 416.
 outtextxy(215,210,"75");
 417.
 outtextxy(215,245,"107");
 418.
 outtextxy(250,140,"26");
 419.
 outtextxy(250,175,"44");
 420.
 outtextxy(250,210,"76");
 421.
 outtextxy(250,245,"108");
 422.
 outtextxy(285,140,"27");
 423.
 outtextxy(285,175,"45");
 424.
 outtextxy(285,210,"77");
 425.
 outtextxy(285,245,"109");
 426.
 outtextxy(320,140,"28");
 427.
 outtextxy(320,175,"46");
 428.
 outtextxy(320,210,"78");
 429.
 outtextxy(315,245,"110");
 430.
 outtextxy(355,140,"29");
 431.
 outtextxy(355,175,"47");
 432.
 outtextxy(355,210,"79");
 433.
 outtextxy(350,245,"111");
 434.
 outtextxy(390,140,"30");
 435.
 outtextxy(390,175,"46");
 436.
 outtextxy(390,210,"80");
 437.
 outtextxy(385,245,"112");
 438.
 setcolor(7);
 439.
 outtextxy(425,140,"31");
 440.
 outtextxy(425,175,"49");
 441.
 outtextxy(425,210,"81");
 442.
 outtextxy(420,245,"113");
 443.
 outtextxy(425,105,"13");
 444.
 setcolor(6);
 445.
 outtextxy(425,70,"5");
 446.
 setcolor(5);
 447.
 outtextxy(460,70,"6");
 448.
 setcolor(9);
 449.
 outtextxy(460,105,"14");
 450.
 outtextxy(460,140,"32");
 451.
 setcolor(4);
 452.
 outtextxy(460,175,"50");
 453.
 outtextxy(460,210,"82");
 454.
 outtextxy(455,245,"114");
 455.
 outtextxy(495,70,"7");
 456.
 outtextxy(495,105,"15");
 457.
 setcolor(5);
 458.
 outtextxy(495,140,"33");
 459.
 outtextxy(495,175,"51");
 460.
 setcolor(7);
 461.
 outtextxy(495,210,"83");
 462.
 outtextxy(490,245,"115");
 463.
 outtextxy(530,70,"8");
 464.
 outtextxy(530,105,"16");
 465.
 outtextxy(530,140,"34");
 466.
 setcolor(2);
 467.
 outtextxy(530,175,"52");
 468.
 outtextxy(530,210,"84");
 469.
 setcolor(1);
 470.
 outtextxy(525,245,"116");
 471.
 outtextxy(565,70,"9");
 472.
 outtextxy(565,105,"17");
 473.
 outtextxy(565,140,"35");
 474.
 outtextxy(565,175,"53");
 475.
 setcolor(9);
 476.
 outtextxy(565,210,"85");
 477.
 outtextxy(560,245,"117");
 478.
 setcolor(6);
 479.
 outtextxy(600,35,"2");
 480.
 outtextxy(600,70,"10");
 481.
 outtextxy(600,105,"18");
 482.
 outtextxy(600,140,"36");
 483.
 outtextxy(600,175,"54");
 484.
 outtextxy(600,210,"86");
 485.
 outtextxy(600,245,"118");
 486.
 setcolor(7);
 487.
 outtextxy(145,360,"58");
 488.
 outtextxy(145,395,"90");
 489.
 outtextxy(180,360,"59");
 490.
 outtextxy(180,395,"91");
 491.
 outtextxy(215,360,"60");
 492.
 outtextxy(215,395,"92");
 493.
 outtextxy(250,360,"61");
 494.
 outtextxy(250,395,"93");
 495.
 outtextxy(285,360,"62");
 496.
 outtextxy(285,395,"94");
 497.
 outtextxy(320,360,"63");
 498.
 outtextxy(320,395,"95");
 499.
 outtextxy(355,360,"64");
 500.
 outtextxy(355,395,"96");
 501.
 outtextxy(390,360,"65");
 502.
 outtextxy(390,395,"97");
 503.
 outtextxy(425,360,"66");
 504.
 outtextxy(425,395,"98");
 505.
 outtextxy(460,360,"67");
 506.
 outtextxy(460,395,"99");
 507.
 outtextxy(495,360,"68");
 508.
 outtextxy(495,395,"100");
 509.
 outtextxy(530,360,"69");
 510.
 outtextxy(530,395,"101");
 511.
 outtextxy(565,360,"70");
 512.
 outtextxy(565,395,"102");
 513.
 outtextxy(600,360,"71");
 514.
 outtextxy(600,395,"103");
 515.
 setcolor(3);
 516.
 for(i=0;i<=1100;i++)
 517.
 {
 518.
 settextstyle(3,1,1);
 519.
 putpixel(rand()%720,rand()%500,rand());
 520.
 delay(10);
 521.
 }
 522.
 }
 523.
 524.
 void periodic::getdata()
 525.
 {
 526.
 cleardevice();
 527.
 setbkcolor(5);
 528.
 cout<<"Enter the atomic no.";
 529.
 cin>>c;
 530.
 }
 531.
 532.
 void periodic::putdata()
 533.
 {
 534.
 setcolor(15);
 535.
 if(c==1)
 536.
 cout<<"Hydrogen:-"<<" "
 537.
 <<" "<<"1.)It is a colourless,odourless and tasteless gas."
 538.
 <<" "<<"2.)It is the lightest gas known."
 539.
 <<" "<<"3.)It is only very slightly soluble in water."
 540.
 <<" "<<"4.)It can be liquefied under high pressure and at low temperature."
 541.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"-----*-----*-----*-----";
 542.
 else
 543.
 if(c==2)
 544.
 cout<<"Helium:-"<<" "
 545.
 <<" "<<"1.)It is a colourless,odourless and tasteless gas."
 546.
 <<" "<<"2.)It is the lightest gas known."
 547.
 <<" "<<"3.)It is used for providing an inert atmosphere."
 548.
 <<" "<<"4.)It is non-inflammable."
 549.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 550.
 else
 551.
 if(c==3)
 552.
 cout<<"Lithium:-"<<" "<<" "<<"1.)Lithium is a silvery white metal."
 553.
 <<" "<<"2.)It is quite soft."
 554.
 <<" "<<"3.)Lithium imparts crimson red colour to the flame."
 555.
 <<" "<<"4.)It is one of the strongest reducing agent."
 556.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 557.
 else
 558.
 if(c==4)
 559.
 cout<<"Beryllium:-"<<" "<<" "<<"1.)Beryllium is very hard in nature."
 560.
 <<" "<<"2.)It is used as a scavanger in metallurgy."
 561.
 <<" "<<"3.)It is used in X-Ray window."
 562.
 <<" "<<"4.)It is used for making electrodes of neon signs."
 563.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 564.
 else
 565.
 if(c==5)
 566.
 cout<<"Boron:-"<<" "<<" "<<"1.)Boron exist in three allotropic forms."
 567.
 <<" "<<"2.)Boron is a poor conductor of electricity."
 568.
 <<" "<<"3.)Boron is quite inert towards water."
 569.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 570.
 else
 571.
 if(c==6)
 572.
 cout<<"Carbon:-"<<" "<<" "<<"1.)It is a non-metallic element."
 573.
 <<" "<<"2.)It occurs both in free as well as combined state."
 574.
 <<" "<<"3.)Air also contain carbon as carbon-di-oxide."
 575.
 <<" "<<"4.)In free state it occurs as diamond,coal and graphite."
 576.
 <<" "<<"5.)Carbon forms hydrites known as hydrocarbon."
 577.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 578.
 else
 579.
 if(c==7)
 580.
 cout<<"Nitrogen:-"<<" "<<" "<<"1.)It is a typical non-metal."
 581.
 <<" "<<"2.)It exists as diatomic molecule."
 582.
 <<" "<<"3.)It is highly electronegative element."
 583.
 <<" "<<"4.)The oxidation state of nitrogen varies from -3 to +5."
 584.
 <<" "<<"5.)Molecular nitrogen is called dinitrogen."
 585.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 586.
 else
 587.
 if(c==8)
 588.
 cout<<"Oxygen:-"<<" "<<" "<<"1.)It is a non-metal."
 589.
 <<" "<<"2.)It is paramagnatic in nature."
 590.
 <<" "<<"3.)It is most abundant element in earth's crust."
 591.
 <<" "<<"4.)It is di-atomic in nature."
 592.
 <<" "<<"5.)Molecular oxygen is also called dioxygen."
 593.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 594.
 else
 595.
 if(c==9)
 596.
 cout<<"Fluorine:-"<<" "<<" "<<"1.)It is a non-metallic element."
 597.
 <<" "<<"2.)It is most electronegative in nature."
 598.
 <<" "<<"3.)It is used in the preparation of uranium hexafluoride."
 599.
 <<" "<<"4.)In nature it is not found in free state."
 600.
 <<" "<<"5.)It is used as plastic teflon."
 601.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 602.
 else
 603.
 if(c==10)
 604.
 cout<<"Neon:-"<<" "<<" "<<"1.)It is a gas."
 605.
 <<" "<<"2.)It is widely used in sign boards."
 606.
 <<" "<<"3.)It is used in T.V.,radio,photography and warning signals."
 607.
 <<" "<<"4.)It produces an orange glow when an electric current is passed."
 608.
 <<" "<<"5.)Neon lights are used as beacon lights for pilots."
 609.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 610.
 else
 611.
 if(c==11)
 612.
 cout<<"Sodium:-"<<" "<<" "<<"1.)It occurs only in the combined form."
 613.
 <<" "<<"2.)NaCl,common salt found as rock salt, in sea water."
 614.
 <<" "<<"3.)Sodium nitrate as chili saltpetre or Caliche in Chile."
 615.
 <<" "<<"4.)Sodium carbonate is found as an efflorescent substance."
 616.
 <<" "<<"5.)Sodium is extracted by electrolysis of fused caustic soda."
 617.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 618.
 else
 619.
 if(c==12)
 620.
 cout<<"Magnesium:-"<<" "<<" "<<"1.)It is used in manufacture of alloys."
 621.
 <<" "<<"2.)It is extracted by reduction of MgO."
 622.
 <<" "<<"3.)It is used as a reducing agent for boron and silicon."
 623.
 <<" "<<"4.)It is used as a de-oxidiser in metallurgy."
 624.
 <<" "<<"5.)It is used as a fuse in alumino-thermite process."
 625.
 <<" "<<"6.)It is used in flash light photography and in fire-works."
 626.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 627.
 else
 628.
 if(c==13)
 629.
 cout<<"Aluminium:-"<<" "<<" "<<"1.)It is a reactive metal."
 630.
 <<" "<<"2.)It exists in combined state."
 631.
 <<" "<<"3.)It is present in earth's crust & its relative abundance is 8.3."
 632.
 <<" "<<"4.)Aluminium is extracted from its ore bauxite."
 633.
 <<" "<<"5.)It is not effected by atmosphere & do not decompose water."
 634.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 635.
 else
 636.
 if(c==14)
 637.
 cout<<"Silicon:-"<<" "<<" "<<"1.)Silicon is very abundant element."
 638.
 <<" "<<"2.)It is present in earth's crust to the extexnt of 28%."
 639.
 <<" "<<"3.)It is present in the form of silica."
 640.
 <<" "<<"4.)It is used in semi-conductor."
 641.
 <<" "<<"5.)It exists in two allotropic forms i.e. amorphous and crystalline."
 642.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 643.
 else
 644.
 if(c==15)
 645.
 cout<<"Phosphorus:-"<<" "<<" "<<"1.)It is a reactive non-metal."
 646.
 <<" "<<"2.)It is the tenth element in the order of abundance in earth crust."
 647.
 <<" "<<"3.)It exists in combined form."
 648.
 <<" "<<"4.)It constitutes our bones,teeth,muscles,brain & nerve tissue."
 649.
 <<" "<<"5.)In the form of phospholipids it is present in milk,egg,fish,etc."
 650.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 651.
 else
 652.
 if(c==16)
 653.
 cout<<"Sulphur:-"<<" "<<" "<<"1.)It is present in small proportion."
 654.
 <<" "<<"2.)It is used as disinfectant for destroying bacteria,fungi."
 655.
 <<" "<<"3.)It is used in vulcanisation of rubber."
 656.
 <<" "<<"4.)It is a constituent of medicines for skin diseases."
 657.
 <<" "<<"5.)It is used in manufacture of matches,fire-works,etc."
 658.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 659.
 else
 660.
 if(c==17)
 661.
 cout<<"Chlorine:-"<<" "<<" "<<"1.)It is a non-metallic element."
 662.
 <<" "<<"2.)It is used in bleaching textile,yarn,paper,pulp."
 663.
 <<" "<<"3.)It is used in the sterilization of drinking water."
 664.
 <<" "<<"4.)It is used in the manufacture of vinyl chloride."
 665.
 <<" "<<"5.)It is used in preparing insecticides such as D.D.T. & B.H.C."
 666.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 667.
 else
 668.
 if(c==18)
 669.
 cout<<"Argon:-"<<" "<<" "<<"1.)It is a noble-gas."
 670.
 <<" "<<"2.)It is found in traces in the certain spring water."
 671.
 <<" "<<"3.)It is used in metal filament electric lamps."
 672.
 <<" "<<"4.)It is used in thermionic tubes."
 673.
 <<" "<<"5.)It is used for creating inert atmosphere."
 674.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 675.
 else
 676.
 if(c==19)
 677.
 cout<<"Potassium:-"<<" "<<" "<<"1.)It occurs in combined form."
 678.
 <<" "<<"2.)Potassium carbonate is a constituent of wood ashes."
 679.
 <<" "<<"3.)It is prepared by electrolysis of fused potassium cyanide."
 680.
 <<" "<<"4.)It is a silvery white metal."
 681.
 <<" "<<"5.)It is lighter & softer than sodium."
 682.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 683.
 else
 684.
 if(c==20)
 685.
 cout<<"Calcium:-"<<" "<<" "<<"1.)It forms bivalent ions."
 686.
 <<" "<<"2.)It imparts brick red colour to flame."
 687.
 <<" "<<"3.)It's melting point & boiling point is 1112K & 1767K."
 688.
 <<" "<<"4.)It's electronegativity is 1."
 689.
 <<" "<<"5.)Its first & second ionisation energies are 590 & 1146KJ/mol."
 690.
 <<" "<<"6.)It's density is 1.05g/c.c ."
 691.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 692.
 else
 693.
 if(c==21)
 694.
 cout<<"Scandium:-"<<" "<<" "<<"1.)It's atomic radius is 144 p.m."
 695.
 <<" "<<"2.)It exhibits +2 & +3 oxidation states. "
 696.
 <<" "<<"3.)Colour of it's ion is white."
 697.
 <<" "<<"4.)It's ionisation energy is 631KJ/mol."
 698.
 <<" "<<"5.)It is the first element of d-block element."
 699.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 700.
 else
 701.
 if(c==22)
 702.
 cout<<"Titanium:-"<<" "<<" "<<"1.)Its atomic radii is 132pm."
 703.
 <<" "<<"2.)It contains two unpaired electrons."
 704.
 <<" "<<"3.)It exhibits +2 & +3 oxidation states."
 705.
 <<" "<<"4.)It's ionisation energy is 656 KJ/mol."
 706.
 <<" "<<"5.)It is used to extract pure metals."
 707.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 708.
 else
 709.
 if(c==23)
 710.
 cout<<"Vanadium:-"<<" "<<" "<<"1.)It's magnatic moment is 2.76 B.M."
 711.
 <<" "<<"2.)It exhibits stable +5 oxidation state."
 712.
 <<" "<<"3.)It forms green & white ions."
 713.
 <<" "<<"4.)It's value of electrode potential is -1.20 V."
 714.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 715.
 else
 716.
 if(c==24)
 717.
 cout<<"Chromium:-"<<" "<<" "<<"1.)It's magnetic moment is 3.86 B.M."
 718.
 <<" "<<"2.)It is used in making of alloys & in plating of metals."
 719.
 <<" "<<"3.)Dichromate ion is used as volumetric reagent."
 720.
 <<" "<<"4.)It has maximum no. of unpaired electrons."
 721.
 <<" "<<"5.)It forms basic & amphoteric oxides."
 722.
 <<" "<<"6.)It's heat of sublimation is 318 KJ/mol."
 723.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 724.
 else
 725.
 if(c==25)
 726.
 cout<<"Manganese:-"<<" "<<" "<<"1.)It has abnormally low melting point."
 727.
 <<" "<<"2.)It's important ores are pyrolusite and braunite."
 728.
 <<" "<<"3.)It is used to manufacture steel, rail lines etc."
 729.
 <<" "<<"4.)It is used in making manganese bronze used in parts of ships."
 730.
 <<" "<<"5.)It is the 14th most abundant element in the earth's crust."
 731.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 732.
 else
 733.
 if(c==26)
 734.
 cout<<"Iron:-"<<" "<<" "<<"1.)It is used in formation of various alloys."
 735.
 <<" "<<"2.)It exhibits +2 & +3 oxidation states."
 736.
 <<" "<<"3.)It forms various non-stoichiometric oxides."
 737.
 <<" "<<"4.)It's electrode potential is -0.44 V."
 738.
 <<" "<<"5.)It is used as catalyst in many processes."
 739.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 740.
 else
 741.
 if(c==27)
 742.
 cout<<"Cobalt:-"<<" "<<" "<<"1.)It forms pink coloured ions."
 743.
 <<" "<<"2.)Cobalt salts catalyse the decomposition of bleaching powder."
 744.
 <<" "<<"3.)It forms the basic oxide CaO."
 745.
 <<" "<<"4.)It is known as a ferrous metal."
 746.
 <<" "<<"5.)It's ionisation energy is 758 KJ/mol."
 747.
 <<" "<<"6.)It forms various complexes."
 748.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 749.
 else
 750.
 if(c==28)
 751.
 cout<<"Nickel:-"<<" "<<" "<<"1.)It forms green coloured ions."
 752.
 <<" "<<"2.)It exhibits +2,+3,+4 oxidation states."
 753.
 <<" "<<"3.)It is used in hydrogenation reaction in organic chemistry."
 754.
 <<" "<<"4.)It's heat of sublimation is 397 KJ/mol."
 755.
 <<" "<<"5.)It has atomic radii of 115pm."
 756.
 <<" "<<"6.)It's ionisation energy is 736 KJ/mol."
 757.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 758.
 else
 759.
 if(c==29)
 760.
 cout<<"Copper:-"<<" "<<" "<<"1.)It is a dimagnetic substance."
 761.
 <<" "<<"2.)It occurs in free as well as in combined form."
 762.
 <<" "<<"3.)It is used in making copper wires and electrical goods."
 763.
 <<" "<<"4.)It exhibits +1 and +2 oxidation state."
 764.
 <<" "<<"5.)It has an electrode potential of -0.34 V."
 765.
 <<" "<<"6.)It forms blue and white coloured ions."
 766.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 767.
 else
 768.
 if(c==30)
 769.
 cout<<"Zinc:-"<<" "<<" "<<"1.)Zinc blend is usually the main ore."
 770.
 <<" "<<"2.)Zinc is a metal."
 771.
 <<" "<<"3.)Zinc is a moderately hard,brittle element."
 772.
 <<" "<<"4.)Zinc is a d-block element."
 773.
 <<" "<<"5.)It's magnetic moment is 0."
 774.
 <<" "<<"6.)It is used to galvanize iron."
 775.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 776.
 else
 777.
 if(c==31)
 778.
 cout<<"Gallium:-"<<" "<<" "<<"1.)It is a shining greyish white metal."
 779.
 <<" "<<"2.)it has a density of 5.9 in solid and 6.095 in liquid state."
 780.
 <<" "<<"3.)It has a very low melting point of 30^C."
 781.
 <<" "<<"4.)It is a very rare element."
 782.
 <<" "<<"5.)It is a element of p-block."
 783.
 <<" "<<"6.)It's atomic radii is 135pm."
 784.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 785.
 else
 786.
 if(c==32)
 787.
 cout<<"Germanium:-"<<" "<<" "<<"1.)It's atomic radius is 122 pm ."
 788.
 <<" "<<"2.)It's bond energy is 167.2 KJ/mol."
 789.
 <<" "<<"3.)It is used as semi-conductor."
 790.
 <<" "<<"4.)It has bond gap of 0.7eV."
 791.
 <<" "<<"5.)It's electronegativity is 1.8."
 792.
 <<" "<<"6.)It's melting and boiling points are 1218K and 3123K."
 793.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 794.
 else
 795.
 if(c==33)
 796.
 cout<<"Arsenic:-"<<" "<<" "<<"1.)It is an element of p-block."
 797.
 <<" "<<"2.)It exists in yellow and grey colour."
 798.
 <<" "<<"3.)It's electronegativity is 2."
 799.
 <<" "<<"4.)It is a highly poisonous substance."
 800.
 <<" "<<"5.)It is one of a banned element in school labs."
 801.
 <<" "<<"6.)It's density is 50.78g/c.c."
 802.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 803.
 else
 804.
 if(c==34)
 805.
 cout<<"Selenium:-"<<" "<<" "<<"1.)It is an element of p-block."
 806.
 <<" "<<"2.)It's atomic radius is 116pm."
 807.
 <<" "<<"3.)It's density in solid state is 4.79g/c.c."
 808.
 <<" "<<"4.)It finds use in fire proofing electrical fittings."
 809.
 <<" "<<"5.)It finds use in medicine."
 810.
 <<" "<<"6.)It forms various hallides."
 811.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 812.
 else
 813.
 if(c==35)
 814.
 cout<<"Bromine:-"<<" "<<" "<<"1.)It's atomic radius is 101.4pm."
 815.
 <<" "<<"2.)It's ionisation energy is 1142 KJ/mol."
 816.
 <<" "<<"3.)It is reddish brown in colour."
 817.
 <<" "<<"4.)It makes bromo compounds in organic chemistry."
 818.
 <<" "<<"5.)It finds use in medicine."
 819.
 <<" "<<"6.)It is a liquid with obnoxious smell"
 820.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 821.
 else
 822.
 if(c==36)
 823.
 cout<<"Krypton:-"<<" "<<" "<<"1.)It is a noble gas."
 824.
 <<" "<<"2.)It is attached by weak Van der wall forces."
 825.
 <<" "<<"3.)It does not exist as adiatomic molecule."
 826.
 <<" "<<"4.)It is a by products in nuclear reactors."
 827.
 <<" "<<"5.)It is a gas with suffocating smell."
 828.
 <<" "<<"6.)It is a colourless,tasteless and odourless gas."
 829.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 830.
 else
 831.
 if(c==37)
 832.
 cout<<"Rubidium:-"<<" "<<" "<<"1.)It catches fire spontaneously in air."
 833.
 <<" "<<"2.)It boils at 696K giving bluish vapours."
 834.
 <<" "<<"3.)It is a silvery white metal which melts at 311K."
 835.
 <<" "<<"4.)It forms complex salts with halogens."
 836.
 <<" "<<"5.)It gives a series of insoluble salts."
 837.
 <<" "<<"6.)It's compounds are isomorphous with potassium compounds."
 838.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 839.
 else
 840.
 if(c==38)
 841.
 cout<<"Stroncium:-"<<" "<<" "<<"1.)It was discovered by Davy."
 842.
 <<" "<<"2.)It is a soft white metal & possess specific gravity of 2.5."
 843.
 <<" "<<"3.)It is malleable and ductile."
 844.
 <<" "<<"4.)It is comparitively more active than calcium."
 845.
 <<" "<<"5.)It's nitrates are colourless crystalline solids."
 846.
 <<" "<<"6.)It is not acted upon by fusion with alkali carbonates."
 847.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 848.
 else
 849.
 if(c==39)
 850.
 cout<<"Yttrium:-"<<" "<<" "
 851.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 852.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 853.
 else
 854.
 if(c==40)
 855.
 cout<<"Zirconium:-"<<" "<<" "<<"1.)It is a silvery white metal."
 856.
 <<" "<<"2.)It's oxide is a refractory material."
 857.
 <<" "<<"3.)When heated in air it give black oxide."
 858.
 <<" "<<"4.)It is not acted upon by fusion with alkali carbonates."
 859.
 <<" "<<"5.)It's nitrate or chloride solution on hydrolysis give collidal."
 860.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 861.
 else
 862.
 if(c==41)
 863.
 cout<<"Niobium:-"<<" "<<" "
 864.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 865.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 866.
 /*
 867.
 else
 868.
 if(c==42)
 869.
 cout<<"Molybdenum:-"<<" "<<" "<<"1.)It acts as good adsorbant."
 870.
 <<" "<<"2.)It is a grey metallic powder which remains untarnished in air."
 871.
 <<" "<<"3.)When heated it gradually passes into oxide."
 872.
 <<" "<<"4.)It is insoluble in HCl,HF & dil. sulphuric acid."
 873.
 <<" "<<"5.)It is soluble in nitric acid, conc. sulphuric acid & aqua regia."
 874.
 <<" "<<"6.)It is used as a catalyst in various chemical reactios."
 875.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 876.
 else
 877.
 if(c==43)
 878.
 cout<<"Technetium:-"<<" "<<" "
 879.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 880.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 881.
 else
 882.
 if(c==44)
 883.
 cout<<"Ruthenium:-"<<" "<<" "
 884.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 885.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 886.
 else
 887.
 if(c==45)
 888.
 cout<<"Rhodium:-"<<" "<<" "
 889.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 890.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 891.
 else
 892.
 if(c==46)
 893.
 cout<<"Palladium:-"<<" "<<" "
 894.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 895.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 896.
 else
 897.
 if(c==47)
 898.
 cout<<"Silver:-"<<" "<<" "<<"1.)It is a lustrous white metal."
 899.
 <<" "<<"2.).It is a good conductor of heat and electricity."
 900.
 <<" "<<"3.)It finds use in ornaments."
 901.
 <<" "<<"4.)The principal ore of silver is silver glance."
 902.
 <<" "<<"5.)It is a malleable and ductile."
 903.
 <<" "<<"6.)It does not react with dilute acids."
 904.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 905.
 else
 906.
 if(c==48)
 907.
 cout<<"Cadmium:-"<<" "<<" "<<"1.)It is a soft bluish white metal."
 908.
 <<" "<<"2.)It gets oxidised with moist air but when heated it yields CdO."
 909.
 <<" "<<"3.)It melts at 594K and boils at 1040K."
 910.
 <<" "<<"4.)With hallogen it forms cadmium hallide."
 911.
 <<" "<<"5.)It reacts with nitric acid and sulphuric acid."
 912.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 913.
 else
 914.
 if(c==49)
 915.
 cout<<"Indium:-"<<" "<<" "<<"1.)It is a lustrous white metal."
 916.
 <<" "<<"2.)It is malleable and ductile but becomes brittle at about 473K."
 917.
 <<" "<<"3.)It is not attacked by organic acids."
 918.
 <<" "<<"4.)It exhibits three allotropic forms."
 919.
 <<" "<<"5.)It reacts with sulphur to form stannic sulphide."
 920.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 921.
 else
 922.
 if(c==50)
 923.
 cout<<"Tin:-"<<" "<<" "<<"1.)It is a lustrous white metal."
 924.
 <<" "<<"2.)It is not attacked by organic acids."
 925.
 <<" "<<"3.)It exibits three allotropic forms."
 926.
 <<" "<<"4.)It reacts with sulphur to form stannic sulphide."
 927.
 <<" "<<"5.)It is melleable & ductile but becomes brittle at about 473k."
 928.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 929.
 else
 930.
 if(c==51)
 931.
 cout<<"Antimony:-"<<" "<<" "<<"1.)It burns spontaneously with chlorine."
 932.
 <<" "<<"2.)It is hard,brittle and white lustrous metal."
 933.
 <<" "<<"3.)It forms alloy with tin,lead and copper."
 934.
 <<" "<<"4.)At ordinary temperature it is not affected by air."
 935.
 <<" "<<"5.)Pure antimony does not dissolve in HCl."
 936.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 937.
 else
 938.
 if(c==52)
 939.
 cout<<"Tellurium:-"<<" "<<" "<<"1.)It is poor conductor of electricity."
 940.
 <<" "<<"2.)Powdered Te is grey in colour."
 941.
 <<" "<<"3.)On heating it becomes crystalline."
 942.
 <<" "<<"4.)It has highest electrical resistance in metals."
 943.
 <<" "<<"5.)It has a metallic appearance."
 944.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 945.
 else
 946.
 if(c==53)
 947.
 cout<<"Iodine:-"<<" "<<" "<<"1.)It is spriangly soluble in water."
 948.
 <<" "<<"2.)Iodine warmed with alcohol forms iodoform."
 949.
 <<" "<<"3.)It gives shining black cryastals with metallic lusture."
 950.
 <<" "<<"4.)It is strongest reducing halogen."
 951.
 <<" "<<"5.)Iodine solution is decoloursed by alkali solution."
 952.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 953.
 else
 954.
 if(c==54)
 955.
 cout<<"Xenon:-"<<" "<<"n"<<"1.)It is a noble gas."
 956.
 <<" "<<"2.)It forms a number of stable compounds."
 957.
 <<" "<<"3.)It is a monoatomic gas at room temprature."
 958.
 <<" "<<"4.)It has zero valency."
 959.
 <<" "<<"5.)Xe oxides are formed by reaction of xenon flouride with water."
 960.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 961.
 else
 962.
 if(c==55)
 963.
 cout<<"Cesium:-"<<" "<<" "
 964.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 965.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 966.
 else
 967.
 if(c==56)
 968.
 cout<<"Barium:-"<<" "<<" "<<"1.)Its density is 3.62g/c.c."
 969.
 <<" "<<"2.)Its electronegativity is 0.89."
 970.
 <<" "<<"3.)Its atomic radius is 222pm."
 971.
 <<" "<<"4.)It has melting point & boiling point 1000k &2123k respectively."
 972.
 <<" "<<"5.)It imparts Grassy green colour to the flame."
 973.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 974.
 else
 975.
 if(c==57)
 976.
 cout<<"lanthanum:-"<<" "<<" "<<"1.)Its ionic radius is 103pm."
 977.
 <<" "<<"2.)It exhibits oxidation state of +3."
 978.
 <<" "<<"3.)Its atomic radius is 187pm."
 979.
 <<" "<<"4.)It is good conductor of heat & electricity."
 980.
 <<" "<<"5.)It is resistant to corrosion."
 981.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 982.
 else
 983.
 if(c==58)
 984.
 cout<<"Cerium:-"<<" "<<" "<<"1.)It is a good oxidising agent."
 985.
 <<"2.)Forms alloys readily with other metals."
 986.
 <<"3.)It has high electropositive character."
 987.
 <<"4.)It has low tendancy to form complexes."
 988.
 <<"5.)It has very high melting point."
 989.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 990.
 else
 991.
 if(c==59)
 992.
 cout<<"Praseodymium:-"<<" "<<" "
 993.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 994.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
 995.
 else
 996.
 if(c==60)
 997.
 cout<<"Neodymium:-"<<" "<<" "
 998.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
 999.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1000.
 else
1001.
 if(c==61)
1002.
 cout<<"Promethium:-"<<" "<<" "
1003.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1004.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1005.
 else
1006.
 if(c==62)
1007.
 cout<<"Samarium:-"<<" "<<" "
1008.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1009.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1010.
 else
1011.
 if(c==63)
1012.
 cout<<"Europium:-"<<" "<<" "
1013.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1014.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1015.
 else
1016.
 if(c==64)
1017.
 cout<<"Gadolinium:-"<<" "<<" "
1018.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1019.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1020.
 else
1021.
 if(c==65)
1022.
 cout<<"Terbium:-"<<" "<<" "
1023.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1024.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1025.
 else
1026.
 if(c==66)
1027.
 cout<<"Dysprosium:-"<<" "<<" "
1028.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1029.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1030.
 else
1031.
 if(c==67)
1032.
 cout<<"Holmium:-"<<" "<<" "
1033.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1034.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1035.
 else
1036.
 if(c==68)
1037.
 cout<<"Erbium:-"<<" "<<" "
1038.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1039.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1040.
 else
1041.
 if(c==69)
1042.
 cout<<"Thulium:-"<<" "<<" "
1043.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1044.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1045.
 else
1046.
 if(c==70)
1047.
 cout<<"Ytterbium:-"<<" "<<" "
1048.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1049.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1050.
 else
1051.
 if(c==71)
1052.
 cout<<"Lutetium:-"<<" "<<" "
1053.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1054.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1055.
 else
1056.
 if(c==72)
1057.
 cout<<"Hafnium:-"<<" "<<" "<<"1.)It is a silvery white metal."
1058.
 <<" "<<"2.)It occurs in minerals."
1059.
 <<" "<<"3.)It exhibits +3 & +4 oxidation states."
1060.
 else
1061.
 if(c==73)
1062.
 cout<<"Tantalum:-"<<" "<<" "<<"1.)It is resistant to corrosion."
1063.
 <<" "<<"2.)It is used in surgical vessel & as an anlytical weights."
1064.
 <<" "<<"3.)It's atomic radii is 134pm."
1065.
 else
1066.
 if(c==74)
1067.
 cout<<"Tungsten:-"<<" "<<" "<<"1.)It is hardest metal known."
1068.
 <<" "<<"2.)It's filament is used in incandescent bulbs."
1069.
 <<" "<<"3.)It's alloy forms steel for high speed tools."
1070.
 else
1071.
 if(c==75)
1072.
 cout<<"Rhenium:-"<<" "<<" "
1073.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1074.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1075.
 else
1076.
 if(c==76)
1077.
 cout<<"Osmium:-"<<" "<<" "
1078.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1079.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1080.
 else
1081.
 if(c==77)
1082.
 cout<<"Iridium:-"<<" "<<" "
1083.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1084.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1085.
 else
1086.
 if(c==78)
1087.
 cout<<"Platinium:-"<<" "<<" "<<"1.)It is very less reactive metal."
1088.
 <<" "<<"2.)It shows catalytic properties in contact process."
1089.
 <<" "<<"3.)It is used in the manufacture of hydrogen electrodes."
1090.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1091.
 else
1092.
 if(c==79)
1093.
 cout<<"Gold:-"<<" "<<" "<<"1.)It is known as coinage metal."
1094.
 <<" "<<"2.)It is used in jwellery."
1095.
 <<" "<<"3.)It has high electrical & thermal conductivity."
1096.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1097.
 else
1098.
 if(c==80)
1099.
 cout<<"Mercury:-"<<" "<<" "<<"1.)It is used in thermometers."
1100.
 <<" "<<"2.)It is useful in making electrical contacts."
1101.
 <<" "<<"3.)It is used in preparing amalgams of Cu,Ag,etc."
1102.
 <<" "<<"4.)It is used as electrolyte in various processes."
1103.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1104.
 else
1105.
 if(c==81)
1106.
 cout<<"Thalium:-"<<" "<<" "
1107.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1108.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1109.
 else
1110.
 if(c==82)
1111.
 cout<<"Lead:-"<<" "<<" "<<"1.)It is used for making containers."
1112.
 <<" "<<"2.)It's atomic radius is 146pm."
1113.
 <<" "<<"3.)It's electronegativity is 1.9."
1114.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1115.
 else
1116.
 if(c==83)
1117.
 cout<<"Bismuth:-"<<" "<<" "<<"1.)It's density is 9.3g/c.c."
1118.
 <<" "<<"2.)It's atomic radius is 150pm."
1119.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1120.
 else
1121.
 if(c==84)
1122.
 cout<<"Polonium:-"<<" "<<" "
1123.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1124.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1125.
 else
1126.
 if(c==85)
1127.
 cout<<"Astatine:-"<<" "<<" "
1128.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1129.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1130.
 else
1131.
 if(c=86)
1132.
 cout<<"Radon:-"<<" "<<" "
1133.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1134.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1135.
 else
1136.
 if(c==87)
1137.
 cout<<"Francium:-"<<" "<<" "
1138.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1139.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1140.
 else
1141.
 if(c==88)
1142.
 cout<<"Radium:-"<<" "<<" "<<"1.)It's density is 6g/c.c."
1143.
 <<" "<<"2.)It's ionic radii is 1.52pm."
1144.
 <<" "<<"3.)It is a radioactive element."
1145.
 <<" "<<"4.)It was discovered by Madam Curie."
1146.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1147.
 else
1148.
 if(c==89)
1149.
 cout<<"Actinum:- "<<" "<<" "
1150.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1151.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1152.
 else
1153.
 if(c==90)
1154.
 cout<<"Thorium:-"<<" "<<" "
1155.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1156.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1157.
 else
1158.
 if(c==91)
1159.
 cout<<"Protactinum:-"<<" "<<" "
1160.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1161.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1162.
 else
1163.
 if(c==92)
1164.
 cout<<"Uranium:-"<<" "<<" "
1165.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1166.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1167.
 else
1168.
 if(c==93)
1169.
 cout<<"Neptunium:-"<<" "<<" "
1170.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1171.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1172.
 else
1173.
 if(c==94)
1174.
 cout<<"Plutonium:-"<<" "<<" "
1175.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1176.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1177.
 else
1178.
 if(c==95)
1179.
 cout<<"Americium:-"<<" "<<" "
1180.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1181.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1182.
 else
1183.
 if(c==96)
1184.
 cout<<"Curium:-"<<" "<<" "
1185.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1186.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1187.
 else
1188.
 if(c==97)
1189.
 cout<<"Berkelium:-"<<" "<<" "
1190.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1191.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1192.
 else
1193.
 if(c=98)
1194.
 cout<<"Californium:-"<<" "<<" "
1195.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1196.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1197.
 else
1198.
 if(c==99)
1199.
 cout<<"Einsteinium:-"<<" "<<" "
1200.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1201.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1202.
 else
1203.
 if(c==100)
1204.
 cout<<"Fermium:-"<<" "<<" "
1205.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1206.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1207.
 else
1208.
 if(c==101)
1209.
 cout<<"Mendelevium:-"<<" "<<" "
1210.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1211.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1212.
 else
1213.
 if(c==102)
1214.
 cout<<"Nobelium:-"<<" "<<" "
1215.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1216.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1217.
 else
1218.
 if(c==103)
1219.
 cout<<"Lawrencium:-"<<" "<<" "
1220.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1221.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1222.
 else
1223.
 if(c==104)
1224.
 cout<<"Unnilquadium:-"<<" "<<" "
1225.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1226.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1227.
 else
1228.
 if(c==105)
1229.
 cout<<"Unnilpentium:-"<<" "<<" "
1230.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1231.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1232.
 else
1233.
 if(c==106)
1234.
 cout<<"Unnilhexium:-"<<" "<<" "
1235.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1236.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1237.
 else
1238.
 if(c==107)
1239.
 cout<<"Unnilseptium:-"<<" "<<" "
1240.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1241.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1242.
 else
1243.
 if(c==108)
1244.
 cout<<"Unniloctium:-"<<" "<<" "
1245.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1246.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1247.
 else
1248.
 if(c==109)
1249.
 cout<<"Unnilennium:-"<<" "<<" "
1250.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1251.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1252.
 else
1253.
 if(c==110)
1254.
 cout<<"Ununnilium:-"<<" "<<" "
1255.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1256.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1257.
 else
1258.
 if(c==111)
1259.
 cout<<"Unununium:-"<<" "<<" "
1260.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1261.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1262.
 else
1263.
 if(c==112)
1264.
 cout<<"Unubium:-"<<" "<<" "
1265.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1266.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1267.
 else
1268.
 if(c==113)
1269.
 cout<<" "<<" "
1270.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1271.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1272.
 else
1273.
 if(c==114)
1274.
 cout<<"Ununquadium:-"<<" "<<" "
1275.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1276.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1277.
 else
1278.
 if(c==115)
1279.
 cout<<" "<<" "
1280.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1281.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1282.
 else
1283.
 if(c==116)
1284.
 cout<<"Ununhexium:-"<<" "<<" "
1285.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1286.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1287.
 else
1288.
 if(c==117)
1289.
 cout<<" "<<" "
1290.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1291.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1292.
 else
1293.
 if(c==118)
1294.
 cout<<"Ununoctium:-"<<" "<<" "
1295.
 <<" "<<"THIS ELEMENT IS NOT KNOWN SO FAR."
1296.
 <<" "<<" "<<" "<<" "<<" "<<" "<<" "<<"_____*_____*_____*_____";
1297.
 */
1298.
 delay(10000);
1299.
 }
1300.
1301.
 void periodic :: endscreen()
1302.
 {
1303.
 cleardevice();
1304.
 setfillstyle(5,6);
1305.
 fillellipse(310,230,300,90);
1306.
 setcolor(14);
1307.
 settextstyle(3,0,7);
1308.
 outtextxy(170,180,"THE END");
1309.
 delay(500);
1310.
 }
1311.
1312.
 void main()
1313.
 {
1314.
 int gm,gd = DETECT,i,j;
1315.
 initgraph( &gd , &gm , "c:\tc\bgi");
1316.
 periodic p;
1317.
 p.showtable();
1318.
 p.getdata();
1319.
 p.putdata();
1320.
 p.endscreen();
1321.
 getch();
1322.
 }

winzip iconDownload article

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.
 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this article(in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
6/7/2010 7:07:32 AMLefteris Eleftheriades

wow talk about an illegible article.

So the linker misses the library files, you have to find out where the files are and point the linker to those files.

I can help you do the same program without using graphics.h and dos.h, but using windows.h instead. If you want to do it without using any libraries and in dos, there are some assembly instructions that make a dos window read from an array and use it as video memory
(If this comment was disrespectful, please report it.)

 
6/7/2010 7:19:01 AMLefteris Eleftheriades

Options>Linker>Libraries> Tick "Graphics Library"

If it doesn't work check if the directories for the include and libraries are correct:
Options>Directories
(If this comment was disrespectful, please report it.)

 
7/9/2010 4:59:43 AMShiv Kumar

1.
#include
2.
#include
3.
#include
4.
#include
5.
#include
6.
#include
7.
#include
8.
#include

Why all these includes doesn't have any reference to header files.? Where are the names of them?

could you please specify?
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!

Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this article has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular article, please click here.
 
To post feedback, first please login.