periodic table c++ project for class 12

21
7/21/2019 Periodic Table c++ project for class 12 http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 1/21 #include<iostream.h> #include<conio.h> #include<graphics.h> #include<stdio.h> #include<ctype.h> #include<process.h> #include<string.h> #include<dos.h> #include<fstream.h> void element(int,int); void welcome_screen() { clrscr(); for(int !";>!$;%%) { delay(&'); gotoy(,&$); cputs( * + - / ); gotoy(,&0); cputs( 1 - 2 - 3 + - 1 4 5 6 ); gotoy(,&'); cputs( *7/--8 97:37 ); gotoy(, &); cputs( *7:7=/ 3+1: ); ? gotoy(,$0); cputs(ress 7ny 8ey /o ontinue....); getch(); ? int i,@,g; void frame()  {  gotoy(&A,A);  cout<<B;  for(i!$;i<!';iCC)  {  gotoy(i,A);  cout<<D;  ?  cout<<E;  gotoy(&A,&');  cout<<F;  for(i!$;i<!';iCC)  {  gotoy(i,&');  cout<<D;  ?  cout<<G;  for(i!&;i<!&";iCC)

Upload: abhilekh-paul

Post on 05-Mar-2016

43 views

Category:

Documents


6 download

DESCRIPTION

A c++ program for class 12

TRANSCRIPT

Page 1: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 1/21

#include<iostream.h>#include<conio.h>#include<graphics.h>#include<stdio.h>#include<ctype.h>

#include<process.h>#include<string.h>#include<dos.h>#include<fstream.h>

void element(int,int);

void welcome_screen(){clrscr();for(int !";>!$;%%){delay(&');

gotoy(,&$);cputs( * + - / );gotoy(,&0);cputs( 1 - 2 - 3 + - 1 4 5 6 );gotoy(,&');cputs( *7/--8 97:37 );gotoy(, &);cputs( *7:7=/ 3+1: );?gotoy(,$0);cputs(ress 7ny 8ey /o ontinue....);getch();?

int i,@,g;

void frame()  {  gotoy(&A,A);  cout<<B;  for(i!$;i<!';iCC)  {  gotoy(i,A);  cout<<D;  ?  cout<<E;

  gotoy(&A,&');  cout<<F;  for(i!$;i<!';iCC)  {  gotoy(i,&');  cout<<D;  ?  cout<<G;  for(i!&;i<!&";iCC)

Page 2: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 2/21

  {  gotoy(&A,i);  cout<<H;  ?  for(i!&;i<!&";iCC)  {

  gotoy('&,i);  cout<<H;  ?  gotoy(",$0);  cout<<ress -sc to -it;  ?

void display(){ gotoy(II,$); cout<<-*+1 /743-; gotoy(&,&); cout<<B;

 for(i!$;i<!JA;iCC)  {  gotoy(i,&);  cout<<D;  ? cout<<E; for(i!$;i<!$I;iCC)  {  gotoy(,i);  cout<<H;  ? gotoy(,$0); cout<<G;

 for(i!$;i<!&&;iCC)  {  gotoy(i,$0);  cout<<D;  ? gotoy(&,$0); cout<<F; for(i!$;i<!$I;iCC)  {  gotoy(&,i);  cout<<H;  ? gotoy(&$,0);

 cout<<K<<L<<L<<M; gotoy('I,0); cout<<K<<L<<L<<M; gotoy(&$,");cout<<N; gotoy(&",");cout<<N; gotoy('I,");cout<<N; gotoy('',");cout<<N;  gotoy(&$,');cout<<O<<L<<L<<P; gotoy(0,');cout<<K;

Page 3: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 3/21

 for(i!"&;i<!';iCC)  if(iQI!!)  {  gotoy(i,');  cout<<char(&A0);  ?

 for(i!0;i<!'';iCC)  if(iQIR!)  {  gotoy(i,');  cout<<L;  ? gotoy('I,'); cout<<S; for(i!0;i<!'';iCC)  if(iQI!!)  {  gotoy(i,J);  cout<<N;

  ? gotoy(&$,J);cout<<N;  gotoy(&$,);cout<<O<<L<<L<<P; gotoy(&$,A);cout<<N; gotoy(&",A);cout<<N;  gotoy(&",');cout<<S<<L<<L<<M;  gotoy(&",);cout<<S<<L<<L<<P; gotoy(&,J);cout<<N; gotoy(&,A);cout<<N; gotoy(0,);cout<<O; for(i!"&;i<!'I;iCC)  if(iQI!!)  {

  gotoy(i,);  cout<<S;  ? for(i!0;i<!'';iCC)  if(iQIR!)  {  gotoy(i,);  cout<<L;  ? for(i!0;i<!'';iCC)  if(iQI!!)  {  gotoy(i,A);

  cout<<N;  ? gotoy(&$,&); cout<<O;gotoy(&",&); cout<<S; for(i!&I;i<!'';iCC)  if(iQIR!)  { gotoy(i,&);

cout<<L;

Page 4: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 4/21

  ?for(i!&;i<!0";iCC)  if(iQI!!)  { gotoy(i,&);

cout<<char(&A0);  ?for(i!0';i<!'I;iCC)  if(iQI!!)

  { gotoy(i,&);cout<<S;  ?gotoy(&,&);cout<<S;for(i!&$;i<!'';iCC) if(iQI!!)  for(@!&;@<!&';@CC)  if(@Q$R!)  { gotoy(i,@);  cout<<N;  ?for(i!&";i<!'I;iCC) if(iQI!!)  for(@!&$;@<!&0;@CC)

  if(@Q$!!)  { gotoy(i,@);  cout<<S;  ?for(i!&";i<!'I;iCC) if(iQI!!)  for(@!&$;@<!&0;@CC)  if(@Q$!!)  { gotoy(i,@);  cout<<S;  ?for(i!&$;i<!'';iCC) if(iQI!!)  for(@!&$;@<!'';@CC)  if(@Q$!!)

  { gotoy(i,@);  cout<<L;  ?for(i!&";i<!0$;iCC) if(iQI!!)  {gotoy(i,&');  cout<<S;  ?for(i!0";i<!'I;iCC) if(iQI!!)  { gotoy(i,&');  cout<<T;  ?for(i!&$;i<!0$;iCC) if(iQI!!)  { gotoy(i,&J);

  cout<<N;  ? gotoy(&$,&);cout<<U;for(i!&$;i<!0$;iCC) if(iQIR!)  { gotoy(i,&);  cout<<L;  ? cout<<V;for(i!&";i<!0;iCC)

Page 5: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 5/21

 if(iQI!!)  { gotoy(i,&);  cout<<T;  ? for(i!';i<!&';iCC) if(iQ$!!)  { gotoy(&$,i);

  cout<<O;  ? for(i!';i<!&0;iCC) if(iQ$!!)  { gotoy('',i);  cout<<P;  ?gotoy('',&');cout<<V;gotoy(&$,$);cout<<K;for(i!&I;i<!$I;iCC) {gotoy(i,$);  cout<<L; ?for(i!$0;i<!'I;iCC)

 if(iQI!!)  {gotoy(i,$);  cout<<char(&A0);  ?for(i!$0;i<!'';iCC) if(iQIR!)  { gotoy(i,$);  cout<<L;  cout<<M;  gotoy(&$,$&);cout<<N; ? for(i!$0;i<!'';iCC){ if(iQI!!)

  { gotoy(i,$&);  WW cout<<char(&A0);  cout<<N;  ??  for(i!$0;i<!'';iCC){ if(iQI!!)  { gotoy(i,$);  cout<<L;  ?cout<<M;  gotoy(i,$&);cout<<N;?

for(i!$0;i<!'';iCC){ if(iQI!!)  {gotoy(i,$&);  cout<<N;  ?gotoy(i,$$);cout<<O;?for(i!&I;i<!$I;iCC)  { gotoy(i,$$);

Page 6: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 6/21

  cout<<L;  ?  for(i!$0;i<!'I;iCC){ if(iQI!!)  { gotoy(i,$$);  cout<<S;

  ?  ?  for(i!$0;i<!'';iCC){ if(iQIR!)  { gotoy(i,$$);  cout<<L;  ? cout<<P;  gotoy(&$,$I);cout<<N;?for(i!$0;i<!'';iCC)  if(iQI!!)  { gotoy(i,$I);  cout<<N;

  ? gotoy(&$,$0);cout<<U;for(i!&I;i<!$I;iCC)  { gotoy(i,$0);  cout<<U;  ? for(i!$0;i<!'I;iCC) if(iQI!!)  { gotoy(i,$0);  cout<<T;  ? for(i!$0;i<!'';iCC)  if(iQIR!)  { gotoy(i,$0);  cout<<L;

  ?cout<<V;gotoy(&",$");cout<<7**+X /+ *+33.-=/-* /+ -3-/.- /+ -Y/.;gotoy(&I,");cout<<:;gotoy(&I,J);cout<<3i;gotoy(&I,A);cout<<=a;gotoy(&I,&&);cout<<8;

gotoy(&",J); cout<<N;

for (i!&I;i<'';iCC) { gotoy(i,&0);cout<<L; gotoy(i,&$);cout<<L; gotoy(i,&');cout<<L; if(i>0$) {gotoy(i,&);cout<< ;? if(iQI!!)  {  gotoy(i,&0);cout<<S;

Page 7: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 7/21

  gotoy(i,&$);cout<<S;  gotoy(i,&');cout<<S;  if(i>0$) gotoy(i,&');cout<<T;  ? ?

for (i!$I;i<'';iCC) { gotoy(i,$);cout<<L; gotoy(i,$$);cout<<L; gotoy(i%&&,$0);cout<<L; gotoy(i,$0);cout<<L; if(iQI!!)  {  gotoy(i,$);cout<<Z;  gotoy(i,$$);cout<<S;  gotoy(i,$0);cout<<T;  ? ?

 for (i!$I;i<'';iCC) { if(iQI!!)  if(i>&)  {  gotoy(i,$0);  cout<<T;  ? ?

for(i!'J;i<!;iCC) {gotoy(i,$0);cout<<D;?for(i!;i<!&;iCC) {gotoy(i,$");cout<< ;?for(i!&A;i<!0J;iCC) {gotoy(i,A);cout<< ;?

for(i!$;i<!";iCC) {gotoy('&,i);cout<< ;?

gotoy(&$,$$);cout<<O;gotoy('',$);cout<<M ;gotoy(&$,$0);cout<<UL;gotoy(,$0);cout<<G;gotoy("A,A);cout<< ;gotoy("',A);cout<< ;

gotoy(&I,&I);cout<<*[;gotoy(&I,&");

cout<<s;gotoy(&I,&J);cout<<\r;gotoy(&',J);cout<<4e;gotoy(&',A);cout<<9g;gotoy(&',&&);cout<<a;

Page 8: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 8/21

gotoy(&',&I);cout<<r;gotoy(&',&");cout<<4a;gotoy(&',&J);cout<<*a;

gotoy(&A,&&);cout<<c;gotoy(&A,&I);cout<<5;gotoy(&A,&");cout<<3a;gotoy(&A,&J);cout<<7c;gotoy($$,&&);cout<</i;gotoy($$,&I);cout<<]r;gotoy($$,&");

cout<<:f;gotoy($$,&J);cout<<*f;gotoy($",&&);cout<<2;gotoy($",&I);cout<<=[;gotoy($",&");cout<</a;gotoy($",&J);cout<<:a;gotoy($,&&);cout<<r;

gotoy($,&I);cout<<9o;gotoy($,&");cout<<X;gotoy($,&J);cout<<^n;gotoy(I&,&&);cout<<9n;gotoy(I&,&I);cout<</c;gotoy(I&,&");cout<<*e;gotoy(I&,&J);

cout<<=s;gotoy(I0,&&);cout<<\e;gotoy(I0,&I);cout<<*u;gotoy(I0,&");cout<<+s;gotoy(I0,&J);cout<<:s;

Page 9: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 9/21

gotoy(IJ,&&);cout<<o;gotoy(IJ,&I);cout<<*h;gotoy(IJ,&");cout<<r;

gotoy(IJ,&J);cout<<9t;gotoy(0,&&);cout<<=i;gotoy(0,&I);cout<<d;gotoy(0,&");cout<<t;gotoy(0,&J);cout<<^u;gotoy(0I,&&);cout<<u;gotoy(0I,&I);

cout<<7g;gotoy(0I,&");cout<<7u;gotoy(0',&&);cout<<]n;gotoy(0',&I);cout<<d;gotoy(0',&");cout<<:g;gotoy(0A,J);cout<<4;gotoy(0A,A);cout<<7l;

gotoy(0A,&&);cout<<a;gotoy(0A,&I);cout<<n;gotoy(0A,&");cout<</l;gotoy("$,J);cout<<;gotoy("$,A);cout<<i;gotoy("$,&&);cout<<e;gotoy("$,&I);

cout<<n;gotoy("$,&");cout<<[;gotoy("",J);cout<<=;gotoy("",A);cout<<;gotoy("",&&);cout<<7s;

Page 10: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 10/21

gotoy("",&I);cout<<[;gotoy("",&");cout<<4i;gotoy(",J);cout<<+;

gotoy(",A);cout<<;gotoy(",&&);cout<<e;gotoy(",&I);cout<</e;gotoy(",&");cout<<o;gotoy('&,J);cout<<\;gotoy('&,A);cout<<l;gotoy('&,&&);

cout<<4r;gotoy('&,&I);cout<<;gotoy('&,&");cout<<7t;gotoy('0,");cout<<:e;gotoy('0,J);cout<<=e;gotoy('0,A);cout<<7r;gotoy('0,&&);cout<<8r;

gotoy('0,&I);cout<<Ye;gotoy('0,&");cout<<*n;gotoy(&I,$&);cout<<3anthanides;gotoy($",$&);cout<<e;gotoy($,$&);cout<<r;gotoy(I&,$&);cout<<=d;gotoy(I0,$&);

cout<<m;gotoy(IJ,$&);cout<<m;gotoy(0,$&);cout<<-u;gotoy(0I,$&);cout<<d;gotoy(0',$&);cout<</[;

Page 11: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 11/21

gotoy(0A,$&);cout<<1y;gotoy("$,$&);cout<<:o;gotoy("",$&);cout<<-r;

gotoy(",$&);cout<</m;gotoy('&,$&);cout<<5[;gotoy('0,$&);cout<<3u;gotoy(&I,$I);cout<<7ctinides;gotoy($",$I);cout<</h;gotoy($,$I);cout<<a;gotoy(I&,$I);

cout<<^;gotoy(I0,$I);cout<<=p;gotoy(IJ,$I);cout<<u;gotoy(0,$I);cout<<7m;gotoy(0I,$I);cout<<m;gotoy(0',$I);cout<<4`;gotoy(0A,$I);cout<<f;

gotoy("$,$I);cout<<-a;gotoy("",$I);cout<<\m;gotoy(",$I);cout<<9d;gotoy('&,$I);cout<<=o;gotoy('0,$I);cout<<3r;gotoy($,$);i!$;@!$;gotoy(i,@);

 do  {  g!getch();  if(g!!)  {  if(@!!$I) @!&;  gotoy(i,CC@);  ?

Page 12: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 12/21

  else if(g!!JJ)  {  if(i!!JA) i!&;  gotoy(CCi,@);  ?  else if(g!!J")

  {  if(i!!$) i!;  gotoy(%%i,@);  ?  else if(g!!J$)  {  if(@!!$)  @!$0;  gotoy(i,%%@);  ?  if(g!!&I)  element(i,@);  ?while(gR!$J);

?

void main() { clrscr(); welcome_screen(); int gdriver!1-/-/,gmode,errorcode;  initgraph(gdriver,gmode,c6bbtcpbb[gi); errorcode!graphresult(); if(errorcodeR!gr+`)  {  cout<<grapherrormsg(errorcode)<<endl;  getch();

  ? for (int i!;i<J;iCC)  {  delay(&");  clrscr();  settetstyle(",,i);  outtety(&&,J", X-3+9-);  outtety(&"",&", /+);  outtety(&,$$", -*+1 /743-);  ? settetstyle(,,&); outtety($,0",ress 7ny 8ey /o ontinue ...); getch();

 closegraph(); display(); ?

void element(int i,int @) { if(((i!!&I)(i!!&0))(@!!"))  {  clrscr();

Page 13: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 13/21

  frame();  gotoy($&,&);  cout<<7tomic =o 6&<<bn;  gotoy($&,&&);  cout<<ym[ol 6:<<bn;  gotoy($&,&$);

  cout<<=ame 6:ydrogen<<bn;  gotoy($&,&I);  cout<<7tomic *adius 6.IJ<<bn;  gotoy($&,&");  cout<<-lectronegetivity 6$.$<<bn;  gotoy(I,$);  cout<<ress 7ny 8ey /o *eturn.....;  ?

 else if(((i!!'0)(i!!'"))(@!!")){ clrscr(); frame();

 gotoy($&,&); cout<<7tomic =o6 6$<<bn; gotoy($&,&&); cout<<ym[ol 6:e<<bn; gotoy($&,&$); cout<<=ame 6:elium<<bn; gotoy($&,&I); cout<<7tomic *adius 6&.$<<bn; gotoy($&,&0); cout<<&st onisation potential 6$0."<<bn; gotoy($&,&"); cout<<-lectronegativity 6%%%%%%<<bn; gotoy(I,$);

 cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!&I)(i!!&0))(@!!J))  {

clrscr();frame();gotoy($&,&);cout<<7tomic =o6 6I<<bn;gotoy($&,&&);cout<<ym[ol 63i<<bn;gotoy($&,&$);cout<<=ame 63ithium<<bn;

gotoy($&,&I);cout<<7tomic *adius 6&.$I<<bn;gotoy($&,&");cout<<-lectronegativity 6.AJ<<bn;gotoy(I,$);cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!&')(i!!&J))(@!!J))

Page 14: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 14/21

  {clrscr();frame();gotoy($&,&);cout<<7tomic =o6 60<<bn;gotoy($&,&&);

cout<<ym[ol 64e<<bn;gotoy($&,&$);cout<<=ame 64erryllium<<bn;gotoy($&,&I);cout<<7tomic *adius 6.A<<bn;gotoy($&,&");cout<<-lectronegativity 6&.0J<<bn;gotoy(I,$);cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!0A)(i!!"))(@!!J)){

 clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6"<<bn; gotoy($&,&&); cout<<ym[ol 64<<bn; gotoy($&,&$); cout<<=ame 64oron<<bn; gotoy($&,&I); cout<<7tomic *adius 6.<<bn; gotoy($&,&0); cout<<&st onisation potential 6.I<<bn; gotoy($&,&");

 cout<<-lectronegativity 6$.&<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!"$)(i!!"I))(@!!J)){ clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6'<<bn; gotoy($&,&&); cout<<ym[ol 6<<bn;

 gotoy($&,&$); cout<<=ame 6ar[on<<bn; gotoy($&,&I); cout<<7tomic *adius 6.JJ<<bn; gotoy($&,&0); cout<<&st onisation potential 6&&.$'<<bn; gotoy($&,&"); cout<<-lectronegativity 6$."<<bn; gotoy(I,$);

Page 15: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 15/21

 cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!"")(i!!"'))(@!!J)){ clrscr();

 frame(); gotoy($&,&); cout<<7tomic =o6 6J<<bn; gotoy($&,&&); cout<<ym[ol 6=<<bn; gotoy($&,&$); cout<<=ame 6=itrogen<<bn; gotoy($&,&I); cout<<7tomic *adius 6.J0<<bn; gotoy($&,&0); cout<<&st onisation potential 6&0."0<<bn; gotoy($&,&"); cout<<-lectronegativity 6I.J<<bn;

 gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!")(i!!"A))(@!!J)){ clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6<<bn; gotoy($&,&&); cout<<ym[ol 6+<<bn; gotoy($&,&$);

 cout<<=ame 6+ygen<<bn; gotoy($&,&I); cout<<7tomic *adius 6.J0<<bn; gotoy($&,&0); cout<<&st onisation potential 6&I.'&<<bn; gotoy($&,&"); cout<<-lectronegativity 6I."<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!'&)(i!!'$))(@!!J)){

 clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6A<<bn; gotoy($&,&&); cout<<ym[ol 6\<<bn; gotoy($&,&$); cout<<=ame 6\luorine<<bn; gotoy($&,&I);

Page 16: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 16/21

 cout<<7tomic *adius 6.J$<<bn; gotoy($&,&0); cout<<&st onisation potential 6&J.0$<<bn; gotoy($&,&"); cout<<-lectronegativity 60.&<<bn; gotoy(I,$);

 cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!'0)(i!!'"))(@!!J)){ clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6&<<bn; gotoy($&,&&); cout<<ym[ol 6=e<<bn; gotoy($&,&$); cout<<=ame 6=eon<<bn;

 gotoy($&,&I); cout<<7tomic *adius 6&.'<<bn; gotoy($&,&0); cout<<&st onisation potential 6$&."'<<bn; gotoy($&,&"); cout<<-lectronegativity 6%<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!&I)(i!!&0))(@!!A))  {

clrscr();

frame();gotoy($&,&);cout<<7tomic =o6 6&&<<bn;gotoy($&,&&);cout<<ym[ol 6=a<<bn;gotoy($&,&$);cout<<=ame 6odium<<bn;gotoy($&,&I);cout<<7tomic *adius 6&."J<<bn;gotoy($&,&");cout<<-lectronegativity 6&.&<<bn;gotoy(I,$);cout<<ress 7ny 8ey /o *eturn......;

?

 else if(((i!!&')(i!!&J))(@!!A))  {

clrscr();frame();gotoy($&,&);cout<<7tomic =o6 6&$<<bn;gotoy($&,&&);

Page 17: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 17/21

cout<<ym[ol 69g<<bn;gotoy($&,&$);cout<<=ame 69agnesium<<bn;gotoy($&,&I);cout<<7tomic *adius 6&.I'<<bn;gotoy($&,&");

cout<<-lectonegativity 6&.$I<<bn;gotoy(I,$);cout<<ress 7ny 8ey /o *eturn..... ;

  ?

 else if(((i!!0A)(i!!"))(@!!A)){ clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6&I<<bn; gotoy($&,&&); cout<<ym[ol 67l<<bn;

 gotoy($&,&$); cout<<=ame 67luminium<<bn; gotoy($&,&I); cout<<7tomic *adius 6&.$"<<bn; gotoy($&,&0); cout<<&st onisation potential 6'.<<bn; gotoy($&,&"); cout<<-lectronegativity 6&.0J<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!"$)(i!!"I))(@!!A))

{ clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6&0<<bn; gotoy($&,&&); cout<<ym[ol 6i<<bn; gotoy($&,&$); cout<<=ame 6ilicon<<bn; gotoy($&,&I); cout<<7tomic *adius 6&.&J<<bn; gotoy($&,&0); cout<<&st onisation potential 6.&"<<bn;

 gotoy($&,&"); cout<<-lectronegativity 6&.J0<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!"")(i!!"'))(@!!A)){ clrscr();

Page 18: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 18/21

 frame(); gotoy($&,&); cout<<7tomic =o6 6&"<<bn; gotoy($&,&&); cout<<ym[ol 6<<bn; gotoy($&,&$);

 cout<<=ame 6hosphorus<<bn; gotoy($&,&I); cout<<7tomic *adius 6&.&<<bn; gotoy($&,&0); cout<<&st onisation potential 6&&.<<bn; gotoy($&,&"); cout<<-lectronegativity 6$.'<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!")(i!!"A))(@!!A)){

 clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6&'<<bn; gotoy($&,&&); cout<<ym[ol 6<<bn; gotoy($&,&$); cout<<=ame 6ulphur<<bn; gotoy($&,&I); cout<<7tomic *adius 6&.0<<bn; gotoy($&,&0); cout<<&st onisation potential 6&.I'<<bn; gotoy($&,&");

 cout<<-lectronegativity 6$.00<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!'&)(i!!'$))(@!!A)){ clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6&J<<bn;

 gotoy($&,&&); cout<<ym[ol 6l<<bn; gotoy($&,&$); cout<<=ame 6hlorine<<bn; gotoy($&,&I); cout<<7tomic *adius 6.AA<<bn; gotoy($&,&0); cout<<&st onisation potential 6&I.<<bn; gotoy($&,&");

Page 19: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 19/21

 cout<<-lectronegativity 6$.I<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!'0)(i!!'"))(@!!A)){ clrscr(); frame(); gotoy($&,&); cout<<7tomic =o6 6&<<bn; gotoy($&,&&); cout<<ym[ol 67r<<bn; gotoy($&,&$); cout<<=ame 67rgon<<bn; gotoy($&,&I); cout<<7tomic *adius 6&.A<<bn;

 gotoy($&,&0); cout<<&st onisation potential 6&".J'<<bn; gotoy($&,&"); cout<<-lectronegativity 6%<<bn; gotoy(I,$); cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!&I)(i!!&0))(@!!&&))  {

clrscr();frame();gotoy($&,&);

cout<<7tomic =o6 6&A<<bn;gotoy($&,&&);cout<<ym[ol 68<<bn;gotoy($&,&$);cout<<=ame 6otassium<<bn;gotoy($&,&I);cout<<7tomic *adius 6$.I<<bn;gotoy($&,&");cout<<-lectronegativity 6.A&<<bn;gotoy(I,$);cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!&')(i!!&J))(@!!&&)){ clrscr(); frame(); gotoy($&,&); cout<<7tomic =o 6$<<bn; gotoy($&,&&); cout<<ym[ol 6ca<<bn; gotoy($&,&$);

Page 20: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 20/21

 cout<<=ame 6alcium<<bn; gotoy($&,&I); cout<<7tomic *adius 6&.J0<<bn; gotoy($&,&"); cout<<-lectonegativity 6&.0<<bn; gotoy(I,$);

 cout<<ress 7ny 8ey /o *eturn..... ;  ?

 else if(((i!!&I)(i!!&0))(@!!&I))  {

clrscr();frame();gotoy($&,&);cout<<7tomic =o6 6IJ<<bn;gotoy($&,&&);cout<<ym[ol 6*[<<bn;gotoy($&,&$);cout<<=ame 6*u[idium<<bn;

gotoy($&,&I);cout<<7tomic *adius 6$.&'<<bn;gotoy($&,&");cout<<-lectronegativity 6.A<<bn;gotoy(I,$);cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!&I)(i!!&0))(@!!&"))  {

clrscr();frame();gotoy($&,&);

cout<<7tomic =o6 6""<<bn;gotoy($&,&&);cout<<ym[ol 6s<<bn;gotoy($&,&$);cout<<=ame 6esium<<bn;gotoy($&,&I);cout<<7tomic *adius 6$.I"<<bn;gotoy($&,&");cout<<-lectronegativity 6.'<<bn;gotoy(I,$);cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!&I)(i!!&0))(@!!&J))  {

clrscr();frame();gotoy($&,&);cout<<7tomic =o6 6J<<bn;gotoy($&,&&);cout<<ym[ol 6\r<<bn;gotoy($&,&$);

Page 21: Periodic Table c++ project for class 12

7/21/2019 Periodic Table c++ project for class 12

http://slidepdf.com/reader/full/periodic-table-c-project-for-class-12 21/21

cout<<=ame 6\rancium<<bn;gotoy($&,&I);cout<<7tomic *adius 6%<<bn;gotoy($&,&");cout<<-lectronegativity 6.'<<bn;gotoy(I,$);

cout<<ress 7ny 8ey /o *eturn......;?

 else if(((i!!'0)(i!!'"))(@!!$I))  {  clrscr();  frame();  gotoy($&,&);  cout<<7tomic =o. 6&I<<bn;  gotoy($&,&&);  cout<<ym[ol 63r<<bn;  gotoy($&,&$);  cout<<=ame 63awencium<< bn;

  gotoy($&,&I);  cout<<7tomic *adius 6%%%<<bn;  gotoy($&,&0);  cout<<&st onisation otential6%%%<<bn;  gotoy($&,&");  cout<<-lectonegativity 6&.$<<bn;  gotoy(I,$);  cout<<ress 7ny 8ey /o *eturn.....;  ?char `ey;`ey!getch();if(`ey!!$J) eit();else display();

?